PERFORCE change 132288 for review

Kip Macy kmacy at FreeBSD.org
Tue Jan 1 20:24:49 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=132288

Change 132288 by kmacy at pandemonium:kmacy:xen31 on 2008/01/02 04:24:12

	turn vfork in to fork until we understand why it causes problems

Affected files ...

.. //depot/projects/xen31/sys/kern/kern_fork.c#5 edit

Differences ...

==== //depot/projects/xen31/sys/kern/kern_fork.c#5 (text+ko) ====

@@ -108,7 +108,14 @@
 	int error;
 	struct proc *p2;
 
+#ifdef XEN
+	/*
+	 * Only need to take out one - and why doesn't thisk work on xen anyway?
+	 */
+	error = fork1(td, RFFDG | RFPROC, 0, &p2);
+#else
 	error = fork1(td, RFFDG | RFPROC | RFPPWAIT | RFMEM, 0, &p2);
+#endif	
 	if (error == 0) {
 		td->td_retval[0] = p2->p_pid;
 		td->td_retval[1] = 0;


More information about the p4-projects mailing list