locking: Switch to _irq_{disable,enable}() variants in cleanup guards

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.

[boqun: Adjust the user-side changes in do_sched_cfs_*_timer() provided
by Peter and Lyude]

Signed-off-by: Boqun Feng <boqun@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260804161447.84806-8-boqun@kernel.org
This commit is contained in:
Boqun Feng 2026-08-04 09:14:29 -07:00 • committed by Peter Zijlstra
commit 1b08668748
2 changed files with 18 additions and 20 deletions