PERFORCE change 112893 for review

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Tue Jan 16 22:14:46 UTC 2007


On Tue, Jan 16, 2007 at 03:52:36PM -0500, John Baldwin wrote:
> On Sunday 14 January 2007 08:53, Roman Divacky wrote:
> > http://perforce.freebsd.org/chv.cgi?CH=112893
> > 
> > Change 112893 by rdivacky at rdivacky_witten on 2007/01/14 13:52:42
> > 
> > 	Make linux_vfork() actually work. This enables make to work again
> > 	with 2.6
> 
> You should be using RFSTOPPED and starting the new process up after you set 
> P_PPWAIT before you block to avoid races.

fork1() for vfork does exactly this... I just copied its behaviour. It also
seems to me to be more correct but fork1() does it this way.

can you look at it?


More information about the p4-projects mailing list