Skip to content

Commit

Permalink
LINT*: Add DEBUG_LOCKS_LATENCY.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Wildner committed Feb 2, 2012
1 parent 5bfe446 commit 9ec899f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sys/config/LINT
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
4 changes: 4 additions & 0 deletions sys/config/LINT64
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 9ec899f

Please sign in to comment.