Re: [RFC][PATCHv4 1/6] printk: use vprintk_func in vprintk()

From: Petr Mladek
Date: Thu Nov 24 2016 - 11:28:53 EST


On Fri 2016-10-28 00:49:28, Sergey Senozhatsky wrote:
> vprintk(), just like printk(), better be using per-cpu printk_func
> instead of direct vprintk_emit() call. Just in case if vprintk()
> will ever be called from NMI, or from any other context that can
> deadlock in printk().
>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> Reviewed-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Makes sense.

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr