Re: [PATCHv7 6/8] printk: use printk_safe buffers in printk

From: Sergey Senozhatsky
Date: Wed Feb 01 2017 - 21:11:38 EST


On (02/01/17 16:39), Petr Mladek wrote:
[..]
> I guess that you are talking about the introduction of
> #define SCHED_WARN_ON(x) WARN_ONCE(x, #x)

my guess would be that Jan was talking about printk_deferred() patch.
it's on my TODO list.

I want to entirely remove console_sem and scheduler out of printk() path.
that's the only way to make printk() deadlock safe.

-ss