git: kernel -- lockmgr debugging.

看板DFBSD_commit作者時間15年前 (2011/01/25 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 67e75efb1df71c9e7f599c5a9e1e69f184877e08 Author: Venkatesh Srinivas <me@endeavour.zapto.org> Date: Tue Jan 25 04:58:54 2011 -0800 kernel -- lockmgr debugging. * Track exclusive lockmgr locks held by a thread in a per-td stack, td->td_lockmgr_stack[]. The stack also tracks the depth of the lockmgr recursion, if any. * Move td->td_locks count from SIMPLELOCK_DEBUG to DEBUG_LOCKS; we have not used a simplelock to interlock lockmgr lock updates in a very long time. Summary of changes: sys/conf/options | 1 - sys/config/LINT | 1 - sys/kern/kern_lock.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++-- sys/sys/thread.h | 10 ++++++ 4 files changed, 89 insertions(+), 6 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/67e75efb1df71c9e7f599c5a9e1e69f184877e08 -- DragonFly BSD source repository
文章代碼(AID): #1DFj3QUR (DFBSD_commit)