aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 65c8e4daee4a..88c8d9876702 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -834,6 +834,19 @@ config DEBUG_MUTEXES
834 This feature allows mutex semantics violations to be detected and 834 This feature allows mutex semantics violations to be detected and
835 reported. 835 reported.
836 836
837config DEBUG_WW_MUTEX_SLOWPATH
838 bool "Wait/wound mutex debugging: Slowpath testing"
839 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
840 select DEBUG_LOCK_ALLOC
841 select DEBUG_SPINLOCK
842 select DEBUG_MUTEXES
843 help
844 This feature enables slowpath testing for w/w mutex users by
845 injecting additional -EDEADLK wound/backoff cases. Together with
846 the full mutex checks enabled with (CONFIG_PROVE_LOCKING) this
847 will test all possible w/w mutex interface abuse with the
848 exception of simply not acquiring all the required locks.
849
837config DEBUG_LOCK_ALLOC 850config DEBUG_LOCK_ALLOC
838 bool "Lock debugging: detect incorrect freeing of live locks" 851 bool "Lock debugging: detect incorrect freeing of live locks"
839 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT 852 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT