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

git: kernel - add DEBUG_LOCKS_LATENCY option


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Dec 2011 18:53:31 -0800 (PST)

commit bb4ae18c2a7cec1fd8c3877a324a361b7f4cba72
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Dec 7 18:42:01 2011 -0800

    kernel - add DEBUG_LOCKS_LATENCY option
    
    * This is for debugging only, default disabled.  If optioned this adds
      a sysctl to add a forced latency loop (count to N) in front of any
      spinlock or gettoken.

Summary of changes:
 sys/conf/options         |    1 +
 sys/kern/kern_spinlock.c |   16 ++++++++++++++++
 sys/kern/lwkt_token.c    |   26 ++++++++++++++++++++++++--
 3 files changed, 41 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bb4ae18c2a7cec1fd8c3877a324a361b7f4cba72


-- 
DragonFly BSD source repository



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