From owner-freebsd-xen@FreeBSD.ORG Wed Aug 7 09:20:01 2013 Return-Path: Delivered-To: freebsd-xen@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DF7ED782 for ; Wed, 7 Aug 2013 09:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CB4762858 for ; Wed, 7 Aug 2013 09:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r779K1Pl030690 for ; Wed, 7 Aug 2013 09:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r779K1JR030689; Wed, 7 Aug 2013 09:20:01 GMT (envelope-from gnats) Date: Wed, 7 Aug 2013 09:20:01 GMT Message-Id: <201308070920.r779K1JR030689@freefall.freebsd.org> To: freebsd-xen@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: kern/180788: commit references a PR X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 09:20:01 -0000 The following reply was made to PR kern/180788; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"