modprobe: rework/speedup by Timo Teras (timo.teras AT iki.fi)
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 5 Mar 2009 16:32:27 +0000 (16:32 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 5 Mar 2009 16:32:27 +0000 (16:32 -0000)
commit0e2f362a61a4ddbbae3f4372da9adf32bbce16e6
tree8b21a74147522a999d869ea9a9036749ec052bff
parentc5741003e9cca3c0591ff44c4f27db71aab8be30
modprobe: rework/speedup by Timo Teras (timo.teras AT iki.fi)

function                                             old     new   delta
load_modules_dep                                       -     175    +175
helper_get_module                                      -     106    +106
gather_options                                         -      89     +89
add_probe                                              -      67     +67
config_file_action                                   345     388     +43
get_or_add_modentry                                    -      10     +10
loaded                                                 4       -      -4
read_config                                          239     234      -5
llist_find                                            34       -     -34
add_option                                            60       -     -60
modprobe_main                                        567     494     -73
do_modprobe                                          601     273    -328
------------------------------------------------------------------------------
(add/remove: 5/3 grow/shrink: 1/3 up/down: 490/-504)          Total: -14 bytes
   text    data     bss     dec     hex filename
 816778     476    7888  825142   c9736 busybox_old
 816768     476    7880  825124   c9724 busybox_unstripped
modutils/modprobe.c