Re-institute the efficent version of vfork. It appears to make a
difference of approx 3mins in make world on my P6!!! This means that vfork now has full address space sharing, so beware with sloppy vfork programming. Also, you really do need to apply the previously committed popen fix in libc.
This commit is contained in:
parent
14da13a2f1
commit
c58494e476
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_fork.c 8.6 (Berkeley) 4/8/94
|
||||
* $Id: kern_fork.c,v 1.35 1997/04/13 01:48:24 dyson Exp $
|
||||
* $Id: kern_fork.c,v 1.36 1997/04/14 01:28:58 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "opt_ktrace.h"
|
||||
@ -98,7 +98,7 @@ vfork(p, uap, retval)
|
||||
struct vfork_args *uap;
|
||||
int retval[];
|
||||
{
|
||||
return (fork1(p, (RFFDG|RFPROC|RFPPWAIT), retval));
|
||||
return (fork1(p, (RFFDG|RFPROC|RFPPWAIT|RFMEM), retval));
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
|
Loading…
Reference in New Issue
Block a user