From c32ba2484e638026fcf3babaf244c1e7b4286227 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 26 Apr 1997 14:31:36 +0000 Subject: [PATCH] Disable RFMEM in vfork for smp case.. It doesn't seem to work too well yet.. --- sys/kern/kern_fork.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 7bb19d764e79..dbb475860e0b 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -36,10 +36,11 @@ * SUCH DAMAGE. * * @(#)kern_fork.c 8.6 (Berkeley) 4/8/94 - * $Id: kern_fork.c,v 1.37 1997/04/20 16:57:12 dyson Exp $ + * $Id: kern_fork.c,v 1.39 1997/04/23 22:13:18 ache Exp $ */ #include "opt_ktrace.h" +#include "opt_smp.h" #include #include @@ -98,7 +99,11 @@ vfork(p, uap, retval) struct vfork_args *uap; int retval[]; { - return (fork1(p, (RFFDG|RFPROC|RFPPWAIT|RFMEM), retval)); + return (fork1(p, (RFFDG|RFPROC|RFPPWAIT +#ifndef SMP + |RFMEM /* does not work yet on SMP */ +#endif + ), retval)); } /* ARGSUSED */