git: kernel -- lockmgr debugging.

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Tue Jan 25 05:05:07 PST 2011


commit 67e75efb1df71c9e7f599c5a9e1e69f184877e08
Author: Venkatesh Srinivas <me at 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





More information about the Commits mailing list