git: kernel - Fix cumulative nprocs bug

看板DFBSD_commit作者時間14年前 (2011/10/27 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 8c2bce6000adc4c0de363231dc39a05aa310c3bd Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Oct 26 11:13:56 2011 -0700 kernel - Fix cumulative nprocs bug * nprocs requires atomic ops now that the related code is MPSAFE. * Fixes issue reported w/pkgbox64 of the machine running out of processes unexpectedly. * Also move a wakeup() to outside p->p_token to improve concurrency and other minor adjustments. Summary of changes: sys/kern/kern_exit.c | 21 ++++++++++++++------- sys/kern/kern_fork.c | 9 +++++---- 2 files changed, 19 insertions(+), 11 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8c2bce6000adc4c0de363231dc39a05aa310c3bd -- DragonFly BSD source repository
文章代碼(AID): #1Eg58g8n (DFBSD_commit)