Re: [RFC][PATCHv2 6/8] kexec: switch to printk.emergency mode in unsafe places

From: Petr Mladek
Date: Fri Mar 31 2017 - 11:39:49 EST


On Wed 2017-03-29 18:25:09, Sergey Senozhatsky wrote:
> Switch to printk emergency mode in kernel_kexec(), this
> lets us to immediately flush pending kernel message to
> the console and to avoid potentially unsafe calls into
> the scheduler.
>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

Looks fine and works as expected.

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr