diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-07-01 13:20:51 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-07-01 13:20:51 +0200 |
commit | 1ecc818c51b1f6886825dae3885792d5e49ec798 (patch) | |
tree | 2179ae53fa86ea6a42d01ff4efc1a3f6a32e76f2 /lib/Kconfig.debug | |
parent | 1c09ab0d257317f97e8629a3d0c8713d6dd9de4c (diff) | |
parent | d902db1eb60387040fe541573083e47469db50ac (diff) | |
download | kernel_goldelico_gta04-1ecc818c51b1f6886825dae3885792d5e49ec798.zip kernel_goldelico_gta04-1ecc818c51b1f6886825dae3885792d5e49ec798.tar.gz kernel_goldelico_gta04-1ecc818c51b1f6886825dae3885792d5e49ec798.tar.bz2 |
Merge branch 'sched/core-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing into sched/core
Diffstat (limited to 'lib/Kconfig.debug')
-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 dd373c8..9f0d826 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -648,12 +648,15 @@ config TRACE_IRQFLAGS Enables hooks to interrupt enabling and disabling for either tracing or lock debugging. -config DEBUG_SPINLOCK_SLEEP - bool "Spinlock debugging: sleep-inside-spinlock checking" +config DEBUG_ATOMIC_SLEEP + bool "Sleep inside atomic section checking" + select PREEMPT_COUNT depends on DEBUG_KERNEL help If you say Y here, various routines which may sleep will become very - noisy if they are called with a spinlock held. + noisy if they are called inside atomic sections: when a spinlock is + held, inside an rcu read side critical section, inside preempt disabled + sections, inside an interrupt, etc... config DEBUG_LOCKING_API_SELFTESTS bool "Locking API boot-time self-tests" |