Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2008 04:24:48 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 132288 for review
Message-ID:  <200801020424.m024OmEu009216@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132288

Change 132288 by kmacy@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801020424.m024OmEu009216>