Add more lock/sleep debugging to the default tester config. Enable DEBUG_KERNEL since olddefconfig won't enable PROVE_LOCKING without it. Enable PROVE_RCU to also check RCU usage. Enable DEBUG_ATOMIC_SLEEP to catch those as well. --- doc/test-runner.txt | 3 +++ doc/tester.config | 3 +++ 2 files changed, 6 insertions(+) diff --git a/doc/test-runner.txt b/doc/test-runner.txt index 019c23188..43ce42be6 100644 --- a/doc/test-runner.txt +++ b/doc/test-runner.txt @@ -74,9 +74,12 @@ Lock debuging To catch locking related issues the following set of kernel config options may be useful: + CONFIG_DEBUG_KERNEL=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_LOCK_ALLOC=y + CONFIG_DEBUG_ATOMIC_SLEEP=y CONFIG_PROVE_LOCKING=y + CONFIG_PROVE_RCU=y CONFIG_LOCKDEP=y CONFIG_DEBUG_MUTEXES=y diff --git a/doc/tester.config b/doc/tester.config index 4429a7222..099eddc79 100644 --- a/doc/tester.config +++ b/doc/tester.config @@ -47,10 +47,13 @@ CONFIG_UNIX=y CONFIG_UHID=y +CONFIG_DEBUG_KERNEL=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_LOCK_ALLOC=y +CONFIG_DEBUG_ATOMIC_SLEEP=y CONFIG_PROVE_LOCKING=y +CONFIG_PROVE_RCU=y CONFIG_LOCKDEP=y CONFIG_DEBUG_MUTEXES=y CONFIG_KASAN=y -- 2.41.0