Re: [PATCH v2 07/12] locking: Switch to _irq_{disable,enable}() variants in cleanup guards
From: Peter Zijlstra
Date: Thu May 28 2026 - 06:46:47 EST
On Tue, May 26, 2026 at 08:21:43AM -0700, Boqun Feng wrote:
> From: Boqun Feng <boqun.feng@xxxxxxxxx>
>
> The semantics of various irq disabling guards match what
> *_irq_{disable,enable}() provide, i.e. the interrupt disabling is
> properly nested, therefore it's OK to switch to use
> *_irq_{disable,enable}() primitives.
>
> Signed-off-by: Boqun Feng <boqun.feng@xxxxxxxxx>
> Signed-off-by: Boqun Feng <boqun@xxxxxxxxxx>
You really need them both? ;-)