diff options
| author | Ingo Molnar <mingo@elte.hu> | 2006-07-03 03:24:31 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-03 18:27:01 -0400 |
| commit | fb7e42413a098cc45b3adf858da290033af62bae (patch) | |
| tree | ca8e9d46d0c16f7b3623caf42229c1c61b5a0026 /lib | |
| parent | 36596243daf7e1d795c647de04af95e835b8c5b4 (diff) | |
[PATCH] lockdep: remove mutex deadlock checking code
With the lock validator we detect mutex deadlocks (and more), the mutex
deadlock checking code is both redundant and slower. So remove it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index e4fcbd12cf6e..7b3863d4f5e8 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -115,14 +115,6 @@ config DEBUG_PREEMPT | |||
| 115 | if kernel code uses it in a preemption-unsafe way. Also, the kernel | 115 | if kernel code uses it in a preemption-unsafe way. Also, the kernel |
| 116 | will detect preemption count underflows. | 116 | will detect preemption count underflows. |
| 117 | 117 | ||
| 118 | config DEBUG_MUTEXES | ||
| 119 | bool "Mutex debugging, deadlock detection" | ||
| 120 | default n | ||
| 121 | depends on DEBUG_KERNEL | ||
| 122 | help | ||
| 123 | This allows mutex semantics violations and mutex related deadlocks | ||
| 124 | (lockups) to be detected and reported automatically. | ||
| 125 | |||
| 126 | config DEBUG_RT_MUTEXES | 118 | config DEBUG_RT_MUTEXES |
| 127 | bool "RT Mutex debugging, deadlock detection" | 119 | bool "RT Mutex debugging, deadlock detection" |
| 128 | depends on DEBUG_KERNEL && RT_MUTEXES | 120 | depends on DEBUG_KERNEL && RT_MUTEXES |
