]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
locking/lockdep: Enforce PROVE_RAW_LOCK_NESTING only if ARCH_SUPPORTS_RT
authorWaiman Long <longman@redhat.com>
Thu, 28 Nov 2024 02:00:09 +0000 (21:00 -0500)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 2 Dec 2024 11:16:58 +0000 (12:16 +0100)
commitd387ceb17149fed4d85a1ec01b3d65ae0204060d
tree6f7dd617f13b009f68e94f2ab772c15660365dc7
parent0302d2fd6efb0c386e521df0134eb2679a9a138f
locking/lockdep: Enforce PROVE_RAW_LOCK_NESTING only if ARCH_SUPPORTS_RT

Relax the rule to set PROVE_RAW_LOCK_NESTING by default only for arches
that supports PREEMPT_RT.  For arches that do not support PREEMPT_RT,
they will not be forced to address unimportant raw lock nesting issues
when they want to enable PROVE_LOCKING.  They do have the option
to enable it to look for these raw locking nesting problems if they
choose to.

Suggested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20241128020009.83347-1-longman@redhat.com
lib/Kconfig.debug