Re: [PATCH] printk: CON_PRINTBUFFER console registration is a bit racy
From: Sergey Senozhatsky
Date: Fri Sep 28 2018 - 03:36:51 EST
On (09/26/18 13:37), Petr Mladek wrote:
> /*
> * Set exclusive_console still with disabled interrupts to
> * reduce race window with eventual console_flush_on_panic()
> * that ignores console_lock.
> */
Looks good to me.
> I am not against the change. It makes some sense and it does
> not break anything. It is just not obvious
OK. Thanks.
Will send v2.
-ss