Subject: Re: popen reentrant (was Re: SA/pthread and vfork)
To: Todd Vierling <tv@duh.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 09/13/2003 19:42:42
> 
> Even COW handling has a huge context dup overhead with fork(2) that is not
> there with vfork(2).  Yes, even on i386.

Especially since NetBSD seems to continue in the parent rather than the child
(which IIRC SYSV does).  Usually less pages need to be copied in the child.

(Running the child can lead to the parent's priority being stuffed though...)

	David

-- 
David Laight: david@l8s.co.uk