DragonFly BSD
DragonFly commits List (threaded) for 2011-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Remove incorrect assertion


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Feb 2011 10:54:10 -0800 (PST)

commit 88072e3b65eef1b97cd0aa3eab2714a266ba89b3
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Feb 14 10:52:30 2011 -0800

    kernel - Remove incorrect assertion
    
    * Remove the assertion that p2->p_lock == 0 in fork().  Since p2 has already
      been added to allproc PHOLD/PRELEs can cause this field to become non-zero.
    
      This assertion was originally added when p_lock was moved out of the
      copy zone.  It is no longer applicable or correct.

Summary of changes:
 sys/kern/kern_fork.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/88072e3b65eef1b97cd0aa3eab2714a266ba89b3


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]