Re: [PATCH v2 07/12] locking: Switch to _irq_{disable,enable}() variants in cleanup guards

Peter Zijlstra <[email protected]> Thu, 28 May 2026 12:45:29 +0200
Newsgroups org.kernel.vger.linux-openrisc,org.kernel.vger.bpf,org.kernel.vger.linux-arch,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kernel.vger.linux-s390,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
On Tue, May 26, 2026 at 08:21:43AM -0700, Boqun Feng wrote:
> From: Boqun Feng <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Boqun Feng <[email protected]>

You really need them both? ;-)