[PATCH] rfkill : use new-style config/kbuild/applet

Denys Vlasenko vda.linux at googlemail.com
Thu Nov 21 10:56:27 UTC 2013


On Wed, Nov 20, 2013 at 7:45 PM, Xabier Oneca  --  xOneca
<xoneca at gmail.com> wrote:
>> Your bloatcheck looks suspect. Did you look at assembly
>> why it is so much smaller?
>
> Maybe because 'rf_sysfs' is dinamically allocated?
>
> - char rf_sysfs[sizeof("/sys/class/rfkill/rfkill%u/uevent") +
> sizeof(int)*3];
> + char *rf_sysfs;


On-stack allocation does not contribute to bloatcheck numbers.
Elimination of ~50 bytes array on stack should not be visible there.


More information about the busybox mailing list