看板 DFBSD_commit 關於我們 聯絡資訊
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