Re: [PATCH v2 07/12] locking: Switch to _irq_{disable,enable}() variants in cleanup guards
From: Boqun Feng
Date: Thu May 28 2026 - 10:34:04 EST
On Thu, May 28, 2026 at 12:45:29PM +0200, Peter Zijlstra wrote:
> 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? ;-)
Nah, I will clean this up ;-)
Regards,
Boqun