Disable RFMEM in vfork for smp case.. It doesn't seem to work too well
yet..
This commit is contained in:
parent
a18ac0ffaf
commit
c32ba2484e
@ -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 <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user