Re: Alternative to vfork(2) with overcommit off

From: Steven J. Magnani
Date: Mon Jul 30 2012 - 13:16:38 EST


On Mon, 2012-07-30 at 12:59 -0400, Shea Levy wrote:
> Hello,
>
> The vfork(2) manpage states "It is rather unfortunate that Linux revived this specter from the past", but on systems with overcommit turned off fork(2) can be needlessly prohibitive when the goal is to execve(2) right away. Is there a third alternative for the fork/execve case? If not, should the manpage really be so dismissive of vfork?

On noMMU (embedded) systems, fork() is not implementable and vfork() is
the only option.
Not everyone can afford a Lexus.

------------------------------------------------------------------------
Steven J. Magnani "I claim this network for MARS!
www.digidescorp.com Earthling, return my space modulator!"

#include <standard.disclaimer>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/