Re: [POC 1/6] irq & spin_lock: Add counted interrupt disabling/enabling
From: Peter Zijlstra
Date: Thu Oct 24 2024 - 12:18:21 EST
On Mon, Oct 21, 2024 at 04:44:02PM -0400, Lyude Paul wrote:
> I like this so far (at least, assuming we consider making
> raw_spin_lock_irq_disable() and enable() temporary names, and then following
> up with some automated conversions across the kernel using coccinelle).
Well, I hated adding a 3rd spinlock API enough that I tried replacing
the whole of irqsave/irqrestore with this thing in one go, and that is
utterly failing to boot :-(
Coccinelle isn't going to help I'm afraid.