Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2012 02:13:31 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r244806 - stable/9/sys/kern
Message-ID:  <201212290213.qBT2DVQE051088@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Dec 29 02:13:31 2012
New Revision: 244806
URL: http://svnweb.freebsd.org/changeset/base/244806

Log:
  MFC r244237:
  Remove a special case for XEN.

Modified:
  stable/9/sys/kern/kern_fork.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/kern_fork.c
==============================================================================
--- stable/9/sys/kern/kern_fork.c	Sat Dec 29 02:10:55 2012	(r244805)
+++ stable/9/sys/kern/kern_fork.c	Sat Dec 29 02:13:31 2012	(r244806)
@@ -150,11 +150,7 @@ sys_vfork(struct thread *td, struct vfor
 	int error, flags;
 	struct proc *p2;
 
-#ifdef XEN
-	flags = RFFDG | RFPROC; /* validate that this is still an issue */
-#else
 	flags = RFFDG | RFPROC | RFPPWAIT | RFMEM;
-#endif		
 	error = fork1(td, flags, 0, &p2, NULL, 0);
 	if (error == 0) {
 		td->td_retval[0] = p2->p_pid;



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