From 9ec899f42f5929037f4577d9db6d9b64427715c2 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Thu, 2 Feb 2012 12:00:10 +0100 Subject: [PATCH] LINT*: Add DEBUG_LOCKS_LATENCY. --- sys/config/LINT | 4 ++++ sys/config/LINT64 | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sys/config/LINT b/sys/config/LINT index c3e49c50ff..81fd82a86d 100644 --- a/sys/config/LINT +++ b/sys/config/LINT @@ -2151,7 +2151,11 @@ options VM_SWZONE_SIZE_MAX="(50*1024*1024)" # that it is likely to break e.g. fstat(1) unless you recompile your # userland with -DDEBUG_LOCKS as well. # +# DEBUG_LOCKS_LATENCY adds a sysctl to add a forced latency loop +# (count to N) in front of any spinlock or gettoken. +# options DEBUG_LOCKS +options DEBUG_LOCKS_LATENCY # Set the amount of time (in seconds) the system will wait before # rebooting automatically when a kernel panic occurs. If set to (-1), diff --git a/sys/config/LINT64 b/sys/config/LINT64 index e8ebf73157..82ec59e12d 100644 --- a/sys/config/LINT64 +++ b/sys/config/LINT64 @@ -1920,7 +1920,11 @@ options VM_SWZONE_SIZE_MAX="(50*1024*1024)" # that it is likely to break e.g. fstat(1) unless you recompile your # userland with -DDEBUG_LOCKS as well. # +# DEBUG_LOCKS_LATENCY adds a sysctl to add a forced latency loop +# (count to N) in front of any spinlock or gettoken. +# options DEBUG_LOCKS +options DEBUG_LOCKS_LATENCY # Set the amount of time (in seconds) the system will wait before # rebooting automatically when a kernel panic occurs. If set to (-1), -- 2.41.0