Subject: CVS commit: [nathanw_sa] syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 11/05/2001 22:16:34
Module Name:	syssrc
Committed By:	briggs
Date:		Mon Nov  5 20:16:33 UTC 2001

Modified Files:
	syssrc/sys/kern [nathanw_sa]: kern_fork.c

Log Message:
Call uvm_proc_fork() before newlwp() to fork the process's VM space, if
necessary.  This ensures that p2 is more-fully initialized before entering
newlwp().  This also ensures cpu_fork() will have access to p_vmspace for
both processes.


To generate a diff of this commit:
cvs rdiff -r1.84.2.3 -r1.84.2.4 syssrc/sys/kern/kern_fork.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.