Re: vfork

Philip Blundell (Philip.Blundell@pobox.com)
Mon, 01 Nov 1999 20:53:54 +0000


>For i386 vfork has it's own kernel entry point. Because someone
>couldn't figure out how to call clone, and have enough registers left
>to make vfork work . . .

There's also the question of making it fail gracefully (ie fall back to fork)
on older kernels without the support. If you rely on clone() then an old
kernel will just ignore CLONE_VFORK and things will go downhill pretty sharply
after that.

p.

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