Web lists-archives.com

Re: [TANGENT] run-command: use vfork instead of fork




On Tue, May 16, 2017 at 12:35 PM, Eric Wong <e@xxxxxxxxx> wrote:
>
> Fwiw, most of the vfork preparation was already done by Brandon
> and myself a few weeks ago, and cooking in pu.

Oh, interesting. Was that done for vfork(), or is it for something
else? Some of the changes seem almost overly careful. Is this for
prep-work porting to some odd environment that doesn't really have a
MMU at all? There's nothing fundamentally wrong with allocating memory
after fork().

But yes, it looks like it helps the vfork case.

               Linus