git: kernel - add DEBUG_LOCKS_LATENCY option

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Dec 7 18:54:21 PST 2011


commit bb4ae18c2a7cec1fd8c3877a324a361b7f4cba72
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list