Re: [PATCH printk v2 29/38] printk: console_flush_on_panic: use srcu console list iterator

From: Petr Mladek
Date: Tue Oct 25 2022 - 11:32:45 EST


On Wed 2022-10-19 17:01:51, John Ogness wrote:
> With SRCU it is now safe to traverse the console list, even if
> the console_trylock() failed. However, overwriting console->seq
> when console_trylock() failed is still an issue.
>
> Switch to SRCU iteration and document remaining issue with
> console->seq.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr