On (09/14/18 20:19), Sergey Senozhatsky wrote: > On (09/14/18 10:59), Petr Mladek wrote: > > > > Well, I am not sure if it is worth the code complexity. > > > > Well, I don't think we need to bother that much here. Besides, > exclusive_console is cleared under logbuf_lock with preemption > disabled now. So we set it under logbuf_lock and !irq and we > clear it under logbuf_lock and !irq. Looks quite OK to me.
Petr, Steven, any opinions? The patch is rather trivial. -ss