git: kernel - Remove incorrect assertion

看板DFBSD_commit作者時間15年前 (2011/02/15 03:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DMNlrW6 (DFBSD_commit)