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

git: kernel -- Spinlock debugging.


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 25 Dec 2010 17:14:02 -0800 (PST)

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



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