git: kernel - Fix MP race in vmspace_president_count()

看板DFBSD_commit作者時間15年前 (2011/03/25 14:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 87882e126b762d0175ced26c8e2337af315e510a Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Mar 24 23:25:05 2011 -0700 kernel - Fix MP race in vmspace_president_count() * We must get at least a shared vm_map lock in order to scan the vm_map_entry list. * Cache the totaled value and use it for repeated requests within one second or if the vm_map lock could not be acquired non-blocking. * The bug being fixed could be triggered by top. Summary of changes: sys/vm/vm_map.h | 27 +++++++++++++++++++++++---- 1 files changed, 23 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/87882e126b762d0175ced26c8e2337af315e510a -- DragonFly BSD source repository
文章代碼(AID): #1DZ3Rf36 (DFBSD_commit)