Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <bigeasy@linutronix.de>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/r/20241009161041.1018375-2-bigeasy@linutronix.de

authored by

Sebastian Andrzej Siewior and committed by
Boqun Feng
560af5dc e48bf7ca

+2 -10
+2 -10
lib/Kconfig.debug
··· 1409 1409 For more details, see Documentation/locking/lockdep-design.rst. 1410 1410 1411 1411 config PROVE_RAW_LOCK_NESTING 1412 - bool "Enable raw_spinlock - spinlock nesting checks" 1412 + bool 1413 1413 depends on PROVE_LOCKING 1414 - default n 1414 + default y 1415 1415 help 1416 1416 Enable the raw_spinlock vs. spinlock nesting checks which ensure 1417 1417 that the lock nesting rules for PREEMPT_RT enabled kernels are 1418 1418 not violated. 1419 - 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 1419 1428 1420 config LOCK_STAT 1429 1421 bool "Lock usage statistics"