On Sat 2022-09-24 02:10:45, John Ogness wrote: > From: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > Unprotected list walks are not necessarily safe. > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx> > Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> It looks correct in principle. There is still a discussion [1] whether to introduce console_list_lock() or use the existing console_lock(), see https://lore.kernel.org/r/20220924000454.3319186-7-john.ogness@xxxxxxxxxxxxx Depending on the result of the discussion, with either console_list_lock() or console_lock(): Reviewed-by: Petr Mladek <pmladek@xxxxxxxx> Best Regards, Petr