git: kernel - Remove incorrect assertion

Matthew Dillon dillon at
Mon Feb 14 10:55:29 PST 2011

commit 88072e3b65eef1b97cd0aa3eab2714a266ba89b3
Author: Matthew Dillon <dillon at>
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(-)

DragonFly BSD source repository

More information about the Commits mailing list