[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Subject: [PATCH] ash: make 'sleep' a builtin
From:       shawnlandden () tutanota ! com
Date:       2022-08-30 16:59:58
Message-ID: NAjgVML--3-2 () tutanota ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

> On Tue, Aug 30, 2022 at 10:10 AM David Laight <David.Laight@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
[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div><br></div><div>30 ago 2022, 08:14 por \
vda.linux@googlemail.com:<br></div><blockquote class="tutanota_quote" \
style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>On \
Tue, Aug 30, 2022 at 10:10 AM David Laight &lt;David.Laight@aculab.com&gt; \
wrote:<br></div><blockquote><div><br></div><div>One question is \
why?<br></div><div><br></div><div>Shell builtins (mostly) exist to speed things \
up.<br></div><div><br></div><div>But sleep doesn't need speeding \
up.<br></div></blockquote><div><br></div><div>Avoiding having another, possibly \
long-living process<br></div></blockquote><div dir="auto">Linux allocates a huge \
amount of stack space to copy `env` for every process.<br></div><div \
dir="auto"><br></div><div \
dir="auto">https://refspecs.linuxfoundation.org/LSB_1.3.0/IA64/spec/auxiliaryvector.html</div> \
</body> </html>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic