Re: [PATCH 2/2] printk: make sure to print log on console.

From: Sergey Senozhatsky
Date: Thu May 31 2018 - 06:52:27 EST


On (05/31/18 15:49), Maninder Singh wrote:
>
> This patch make sure printing of log if loglevel at time of storing
> log is greater than current console loglevel.
>
> @why
> In case of async printk, printk thread can miss logs because it checks
> current log level at time of console_unlock.

Upstream printk has no printing kthread. And we also run
printk()->console_unlock() with disabled preemption.

-ss