git: kernel - Remove incorrect assertion
dillon at crater.dragonflybsd.org
Mon Feb 14 10:55:29 PST 2011
Author: Matthew Dillon <dillon at 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(-)
DragonFly BSD source repository
More information about the Commits