Commit 07eca77d authored by David S. Miller's avatar David S. Miller

[SPARC]: Add DEBUG_SPINLOCK_SLEEP config option.

parent 5b788016
......@@ -1424,6 +1424,12 @@ config MAGIC_SYSRQ
config DEBUG_SPINLOCK
bool "Spinlock debugging"
config DEBUG_SPINLOCK_SLEEP
bool "Sleep-inside-spinlock checking"
help
If you say Y here, various routines which may sleep will become very
noisy if they are called with a spinlock held.
endmenu
source "security/Kconfig"
......
......@@ -1681,6 +1681,12 @@ config DEBUG_SPINLOCK
best used in conjunction with the NMI watchdog so that spinlock
deadlocks are also debuggable.
config DEBUG_SPINLOCK_SLEEP
bool "Sleep-inside-spinlock checking"
help
If you say Y here, various routines which may sleep will become very
noisy if they are called with a spinlock held.
config DEBUG_BUGVERBOSE
bool "Verbose BUG() reporting (adds 70K)"
depends on DEBUG_KERNEL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment