Re: [PATCH printk v2 07/38] um: kmsg_dump: use console_is_enabled()

2022-10-21 Thread Petr Mladek
On Wed 2022-10-19 17:01:29, John Ogness wrote: > Replace (console->flags & CON_ENABLED) usage with console_is_enabled(). > > Signed-off-by: John Ogness Reviewed-by: Petr Mladek Best Regards, Petr ___ linux-um mailing list linux-um@lists.infradead.or

Re: [PATCH printk v2 20/38] um: kmsg_dumper: use srcu console list iterator

2022-10-21 Thread Petr Mladek
On Wed 2022-10-19 17:01:42, John Ogness wrote: > Rather than using the console_lock to guarantee safe console list > traversal, use srcu console list iteration. > > Signed-off-by: John Ogness > --- > arch/um/kernel/kmsg_dump.c | 11 --- > 1 file changed, 4 insertions(+), 7 deletions(-) >