public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Alternative to vfork(2) with overcommit off
@ 2012-07-30 16:59 Shea Levy
  2012-07-30 17:16 ` Steven J. Magnani
  0 siblings, 1 reply; 2+ messages in thread
From: Shea Levy @ 2012-07-30 16:59 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

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?

Cheers,
Shea Levy

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Alternative to vfork(2) with overcommit off
  2012-07-30 16:59 Alternative to vfork(2) with overcommit off Shea Levy
@ 2012-07-30 17:16 ` Steven J. Magnani
  0 siblings, 0 replies; 2+ messages in thread
From: Steven J. Magnani @ 2012-07-30 17:16 UTC (permalink / raw)
  To: Shea Levy; +Cc: linux-kernel@vger.kernel.org

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>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-30 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-30 16:59 Alternative to vfork(2) with overcommit off Shea Levy
2012-07-30 17:16 ` Steven J. Magnani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox