Re: [PATCH] printk/nbcon: Restore IRQ in atomic flush after each emitted record
From: Leo Yan
Date: Tue Dec 02 2025 - 11:26:59 EST
On Tue, Dec 02, 2025 at 03:39:54PM +0106, John Ogness wrote:
[...]
> I am not really happy about all the local_irq_restore() usage. Using
> guard syntax would be nice here, but AFAICT there is no guard for
> local_irq_save()/_restore().
Sorry for suddenly jumping in. Wouldn't guard(irqsave)() be helpful
here?