Re: [PATCH printk v4 25/27] panic: Mark emergency section in oops

From: Petr Mladek
Date: Mon Apr 15 2024 - 09:36:14 EST


On Wed 2024-04-03 00:17:27, John Ogness wrote:
> Mark an emergency section beginning with oops_enter() until the
> end of oops_exit(). In this section, the CPU will not perform
> console output for the printk() calls. Instead, a flushing of the
> console output is triggered when exiting the emergency section.
>
> The very end of oops_exit() performs a kmsg_dump(). This is not
> included in the emergency section because it is another
> flushing mechanism that should occur after the consoles have
> been triggered to flush.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

Let's try it:

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr