Re: [PATCH printk v3 39/40] printk: relieve console_lock of list synchronization duties

From: Petr Mladek
Date: Fri Nov 11 2022 - 08:07:13 EST


On Mon 2022-11-07 15:22:37, John Ogness wrote:
> The console_list_lock provides synchronization for console list and
> console->flags updates. All call sites that were using the console_lock
> for this synchronization have either switched to use the
> console_list_lock or the SRCU list iterator.
>
> Remove console_lock usage for console list updates and console->flags
> updates.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

All the accesses to console->flags and all the console_list walks
looks safe, so:

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr