git: kernel -- Spinlock debugging.

看板DFBSD_commit作者時間15年前 (2010/12/26 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 1a474e56c667c8f0289b935f5170c17ddebe3be5 Author: Venkatesh Srinivas <me@endeavour.zapto.org> Date: Sat Dec 25 16:57:07 2010 -0800 kernel -- Spinlock debugging. * Track spinlocks held by a thread in a per-thread array; records the lock address and the EIP of the lock-taker. * Panic in lockmgr() if we hold any spinlocks when trying to take a sleeping lockmgr lock. Summary of changes: sys/kern/kern_lock.c | 9 +++++++++ sys/sys/spinlock2.h | 38 ++++++++++++++++++++++++++++++++++++++ sys/sys/thread.h | 6 ++++++ 3 files changed, 53 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1a474e56c667c8f0289b935f5170c17ddebe3be5 -- DragonFly BSD source repository
文章代碼(AID): #1D5fiMV1 (DFBSD_commit)