[PATCH] fuser: code shrink ~90 bytes

Denys Vlasenko vda.linux at googlemail.com
Mon May 23 01:40:37 UTC 2011


On Sunday 08 May 2011 20:48, Maksym Kryzhanovskyy wrote:
> Hi Denis,
> 
> attached is a patch for the fuser applet. Please review and consider usage.
> 
> function                                             old     new   delta
> scan_proc_net_or_maps                                  -     409    +409
> scan_recursive                                         -     399    +399
> .rodata                                           148456  148539     +83
> search_dev_inode                                      56      53      -3
> add_pid                                               51       -     -51
> scan_link                                             52       -     -52
> scan_dir_links                                       106       -    -106
> scan_pid_maps                                        230       -    -230
> fuser_main                                           907     365    -542
> ------------------------------------------------------------------------------
> (add/remove: 2/4 grow/shrink: 1/2 up/down: 891/-984)          Total: -93 bytes
>    text	   data	    bss	    dec	    hex	filename
>  928597	   4122	   9568	 942287	  e60cf	busybox_old
>  928432	   4122	   9568	 942122	  e602a	busybox_unstripped

Applied, thanks!
-- 
vda


More information about the busybox mailing list