git: kernel - limit allproc_scan() to snapshot

看板DFBSD_commit作者時間14年前 (2011/10/27 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit c5d9d57560d05fe0416a2a5c0f983a88b55a62c1 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Oct 26 11:15:47 2011 -0700 kernel - limit allproc_scan() to snapshot * Limit the allproc_scan() to (roughly) a snapshot of nprocs processes. If we don't do this it is possible for the scan to race fork/exec'ing programs and essentially run forever. Summary of changes: sys/kern/kern_proc.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c5d9d57560d05fe0416a2a5c0f983a88b55a62c1 -- DragonFly BSD source repository
文章代碼(AID): #1Eg58giy (DFBSD_commit)