The following reply was made to PR kern/180788; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/180788: commit references a PR
Date: Wed,  7 Aug 2013 10:08:02 +0000 (UTC)

 Author: kib
 Date: Wed Aug  7 10:07:55 2013
 New Revision: 254054
 URL: http://svnweb.freebsd.org/changeset/base/254054
 
 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
   Approved by: re (marius)
 
 Modified:
   releng/9.2/sys/kern/kern_fork.c
 Directory Properties:
   releng/9.2/sys/   (props changed)
 
 Modified: releng/9.2/sys/kern/kern_fork.c
 ==============================================================================
 --- releng/9.2/sys/kern/kern_fork.c    Wed Aug  7 09:18:21 2013        
(r254053)
 +++ releng/9.2/sys/kern/kern_fork.c    Wed Aug  7 10:07:55 2013        
(r254054)
 @@ -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-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
_______________________________________________
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Reply via email to