Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2012 02:36:08 +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-8@freebsd.org
Subject:   svn commit: r244809 - stable/8/sys/kern
Message-ID:  <201212290236.qBT2a8rU054673@svn.freebsd.org>

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

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

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

Modified: stable/8/sys/kern/kern_fork.c
==============================================================================
--- stable/8/sys/kern/kern_fork.c	Sat Dec 29 02:32:22 2012	(r244808)
+++ stable/8/sys/kern/kern_fork.c	Sat Dec 29 02:36:08 2012	(r244809)
@@ -122,11 +122,7 @@ vfork(td, uap)
 	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);
 	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?201212290236.qBT2a8rU054673>