diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 9c28fa4202f8..c0cb9c4bc46d 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -648,12 +648,15 @@ config TRACE_IRQFLAGS | |||
648 | Enables hooks to interrupt enabling and disabling for | 648 | Enables hooks to interrupt enabling and disabling for |
649 | either tracing or lock debugging. | 649 | either tracing or lock debugging. |
650 | 650 | ||
651 | config DEBUG_SPINLOCK_SLEEP | 651 | config DEBUG_ATOMIC_SLEEP |
652 | bool "Spinlock debugging: sleep-inside-spinlock checking" | 652 | bool "Sleep inside atomic section checking" |
653 | select PREEMPT_COUNT | ||
653 | depends on DEBUG_KERNEL | 654 | depends on DEBUG_KERNEL |
654 | help | 655 | help |
655 | If you say Y here, various routines which may sleep will become very | 656 | If you say Y here, various routines which may sleep will become very |
656 | noisy if they are called with a spinlock held. | 657 | noisy if they are called inside atomic sections: when a spinlock is |
658 | held, inside an rcu read side critical section, inside preempt disabled | ||
659 | sections, inside an interrupt, etc... | ||
657 | 660 | ||
658 | config DEBUG_LOCKING_API_SELFTESTS | 661 | config DEBUG_LOCKING_API_SELFTESTS |
659 | bool "Locking API boot-time self-tests" | 662 | bool "Locking API boot-time self-tests" |