[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>
This commit is contained in:
committed by
Linus Torvalds
parent
36596243da
commit
fb7e42413a
@@ -115,14 +115,6 @@ config DEBUG_PREEMPT
|
||||
if kernel code uses it in a preemption-unsafe way. Also, the kernel
|
||||
will detect preemption count underflows.
|
||||
|
||||
config DEBUG_MUTEXES
|
||||
bool "Mutex debugging, deadlock detection"
|
||||
default n
|
||||
depends on DEBUG_KERNEL
|
||||
help
|
||||
This allows mutex semantics violations and mutex related deadlocks
|
||||
(lockups) to be detected and reported automatically.
|
||||
|
||||
config DEBUG_RT_MUTEXES
|
||||
bool "RT Mutex debugging, deadlock detection"
|
||||
depends on DEBUG_KERNEL && RT_MUTEXES
|
||||
|
Reference in New Issue
Block a user