Skip to content

Commit 560af5d

Browse files
Sebastian Andrzej Siewiorfbq
authored andcommitted
lockdep: Enable PROVE_RAW_LOCK_NESTING with PROVE_LOCKING.
With the printk issues solved, the last known splat created by PROVE_RAW_LOCK_NESTING is gone. Enable PROVE_RAW_LOCK_NESTING by default as part of PROVE_LOCKING. Keep the defines around in case something serious pops up and it needs to be disabled. Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Acked-by: Waiman Long <[email protected]> Signed-off-by: Boqun Feng <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e48bf7c commit 560af5d

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

lib/Kconfig.debug

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,22 +1409,14 @@ config PROVE_LOCKING
14091409
For more details, see Documentation/locking/lockdep-design.rst.
14101410

14111411
config PROVE_RAW_LOCK_NESTING
1412-
bool "Enable raw_spinlock - spinlock nesting checks"
1412+
bool
14131413
depends on PROVE_LOCKING
1414-
default n
1414+
default y
14151415
help
14161416
Enable the raw_spinlock vs. spinlock nesting checks which ensure
14171417
that the lock nesting rules for PREEMPT_RT enabled kernels are
14181418
not violated.
14191419

1420-
NOTE: There are known nesting problems. So if you enable this
1421-
option expect lockdep splats until these problems have been fully
1422-
addressed which is work in progress. This config switch allows to
1423-
identify and analyze these problems. It will be removed and the
1424-
check permanently enabled once the main issues have been fixed.
1425-
1426-
If unsure, select N.
1427-
14281420
config LOCK_STAT
14291421
bool "Lock usage statistics"
14301422
depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT

0 commit comments

Comments
 (0)