Messages in this thread | | | From | Sergey Senozhatsky <> | Date | Fri, 14 Sep 2018 20:19:53 +0900 | Subject | Re: [PATCH] printk: CON_PRINTBUFFER console registration is a bit racy |
| |
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.
-ss
| |