DragonFly BSD
DragonFly commits List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel -- lockmgr debugging.


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Jan 2011 05:03:04 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]