git: kernel -- vm_object locking: DEBUG_LOCKS check for hold_wai

看板DFBSD_commit作者時間15年前 (2011/03/28 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit cb443cbb47dab690574674c82ee9407c28deb544 Author: Venkatesh Srinivas <me@endeavour.zapto.org> Date: Sun Mar 27 07:20:20 2011 -0700 kernel -- vm_object locking: DEBUG_LOCKS check for hold_wait vs hold deadlock If a thread has a hold on a vm_object and enters hold_wait (via either vm_object_terminate or vm_object_collapse), it will wait forever for the hold count to hit 0. Record the threads holding an object in a per-object array. Summary of changes: sys/vm/vm_object.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ sys/vm/vm_object.h | 11 +++++++++++ 2 files changed, 59 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cb443cbb47dab690574674c82ee9407c28deb544 -- DragonFly BSD source repository
文章代碼(AID): #1DZtjfRN (DFBSD_commit)