[v2] mdev: create devices from /sys/dev (kill pre-2.6.26 support, fix mdev for everyone else)
Linus Walleij
linus.walleij at linaro.org
Thu Apr 21 09:06:47 UTC 2016
On Thu, Apr 21, 2016 at 6:02 AM, Isaac Dunham <ibid.ag at gmail.com> wrote:
> Alpine Linux/x86, musl, gcc 5.3.0, roughly defconfig:
>
> function old new delta
> strncat - 56 +56
> mdev_main 1500 1450 -50
> dirAction 150 14 -136
> ------------------------------------------------------------------------------
> (add/remove: 2/0 grow/shrink: 0/2 up/down: 56/-186) Total: -130 bytes
> text data bss dec hex filename
> 896163 6751 6948 909862 de226 busybox_old
> 896263 6751 6948 909962 de28a busybox_unstripped
Thanks Isaac, so apart from making things work, we also save
memory with doing things this way.
Yours,
Linus Walleij
More information about the busybox
mailing list