Re: [Kgdb-bugreport] [PATCH printk v4 34/39] tty: serial: kgdboc: use srcu console list iterator

2022-11-15 Thread Petr Mladek via Kgdb-bugreport
On Mon 2022-11-14 17:35:27, John Ogness wrote: > Use srcu console list iteration for safe console list traversal. > Note that this is a preparatory change for when console_lock no > longer provides synchronization for the console list. > > Signed-off-by: John Ogness Reviewed-by: Petr Mladek Be

Re: [Kgdb-bugreport] [PATCH printk v4 35/39] tty: serial: kgdboc: use console_list_lock for list traversal

2022-11-15 Thread Petr Mladek via Kgdb-bugreport
On Mon 2022-11-14 17:35:28, John Ogness wrote: > configure_kgdboc() uses the console_lock for console list iteration. Use > the console_list_lock instead because list synchronization responsibility > will be removed from the console_lock in a later change. > > The SRCU iterator could have been use