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

Petr Mladek
2022-10-25T15:32:45Z

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@linutronix.de>

Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr