Re: [PATCH] locking/lockdep: Enforce PROVE_RAW_LOCK_NESTING only if ARCH_SUPPORTS_RT

Waiman Long
2024-11-28T00:00:34Z

On 11/27/24 11:44 AM, Sebastian Andrzej Siewior wrote:
> On 2024-11-26 18:11:54 [-0500], Waiman Long wrote:
>> 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 irrelevant raw lock nesting issues
>> when they want to enable PROVE_LOCKING.
> I don't like the wording here. It is not "irrelevant raw lock nesting
> issues". This is documented in Documentation/locking/locktypes.rst.
> *IFF* we agree to ignore those because we don't want PREEMPT_RT on
> certain architectures then okay. But please don't describe it as
> irrelevant.

Sorry for that. I will post a v2 patch to fix the wording.

Cheers,
Longman