[PATCH] printk/nbcon: Restore IRQ in atomic flush after each emitted record

Leo Yan leo.yan at arm.com
Tue Dec 2 08:26:39 PST 2025


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?



More information about the linux-arm-kernel mailing list