Subject: [PATCH] ash: make 'sleep' a builtin

shawnlandden at tutanota.com shawnlandden at tutanota.com
Tue Aug 30 16:59:58 UTC 2022


30 ago 2022, 08:14 por vda.linux at googlemail.com:

> On Tue, Aug 30, 2022 at 10:10 AM David Laight <David.Laight at aculab.com> wrote:
>
>>
>> One question is why?
>>
>> Shell builtins (mostly) exist to speed things up.
>>
>> But sleep doesn’t need speeding up.
>>
>
> Avoiding having another, possibly long-living process
>
Linux allocates a huge amount of stack space to copy `env` for every process.

https://refspecs.linuxfoundation.org/LSB_1.3.0/IA64/spec/auxiliaryvector.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20220830/55969b9c/attachment-0001.html>


More information about the busybox mailing list