Re: [PATCH printk v2 36/38] proc: consoles: use console_list_lock for list iteration
From: Petr Mladek
Date: Thu Oct 27 2022 - 08:02:40 EST
On Wed 2022-10-19 17:01:58, John Ogness wrote:
> The console_lock is used in part to guarantee safe list iteration.
> The console_list_lock should be used because list synchronization
> repsponsibility will be removed from the console_lock in a later
> change.
>
> Note, the console_lock is still needed to stop console printing.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr