kern/180788: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Wed Aug 7 09:20:01 UTC 2013
The following reply was made to PR kern/180788; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: kern/180788: commit references a PR
Date: Wed, 7 Aug 2013 09:18:34 +0000 (UTC)
Author: kib
Date: Wed Aug 7 09:18:21 2013
New Revision: 254053
URL: http://svnweb.freebsd.org/changeset/base/254053
Log:
Revert the MFC of the r244237, done as r244806. There are indeed bugs
in XEN pmap. The revert hides a panic with the cost of non-working
vfork(2), which means more obscure misbehaviour in the usermode.
Revert is only done on the stable branch to maintain the consistent
erratic behaviour.
PR: kern/180788
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 Wed Aug 7 08:20:11 2013 (r254052)
+++ stable/9/sys/kern/kern_fork.c Wed Aug 7 09:18:21 2013 (r254053)
@@ -150,7 +150,11 @@ 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;
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-xen
mailing list