git: kernel - add DEBUG_LOCKS_LATENCY option

看板DFBSD_commit作者時間14年前 (2011/12/28 02:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1E-WZ7yj (DFBSD_commit)