diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-01-09 18:59:20 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@hera.kernel.org> | 2006-01-09 18:59:20 -0500 |
commit | 408894ee4dd4debfdedd472eb4d8414892fc90f6 (patch) | |
tree | b324c1086b804cc05c2839f9d9675eef2bc7c949 /lib/Kconfig.debug | |
parent | f3f54ffa703c6298240ffd69616451d645bae4d5 (diff) |
[PATCH] mutex subsystem, debugging code
mutex implementation - add debugging code.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c48260fb8fd9..1fcd856edec1 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -95,6 +95,14 @@ config DEBUG_PREEMPT | |||
95 | if kernel code uses it in a preemption-unsafe way. Also, the kernel | 95 | if kernel code uses it in a preemption-unsafe way. Also, the kernel |
96 | will detect preemption count underflows. | 96 | will detect preemption count underflows. |
97 | 97 | ||
98 | config DEBUG_MUTEXES | ||
99 | bool "Mutex debugging, deadlock detection" | ||
100 | default y | ||
101 | depends on DEBUG_KERNEL | ||
102 | help | ||
103 | This allows mutex semantics violations and mutex related deadlocks | ||
104 | (lockups) to be detected and reported automatically. | ||
105 | |||
98 | config DEBUG_SPINLOCK | 106 | config DEBUG_SPINLOCK |
99 | bool "Spinlock debugging" | 107 | bool "Spinlock debugging" |
100 | depends on DEBUG_KERNEL | 108 | depends on DEBUG_KERNEL |