Re: [PATCH 2/3] printk/nbcon/panic: Allow printk kthread to sleep when the system is in panic

From: John Ogness

Date: Fri Sep 26 2025 - 10:38:30 EST


On 2025-09-26, Petr Mladek <pmladek@xxxxxxxx> wrote:
> The printk kthread might be running when there is a panic in progress.
> But it is not able to acquire the console ownership any longer.
>
> Prevent the desperate attempts to acquire the ownership and allow sleeping
> in panic. It would make it behave the same as when there is any CPU
> in an emergency context.
>
> Signed-off-by: Petr Mladek <pmladek@xxxxxxxx>

Reviewed-by: John Ogness <john.ogness@xxxxxxxxxxxxx>