Re: [PATCH] printk/nmi: restore printk_func in nmi_panic

From: Sergey Senozhatsky
Date: Fri Feb 26 2016 - 22:11:53 EST


On (02/27/16 11:19), Sergey Senozhatsky wrote:
[..]
> > I think about a compromise. We should try to get the messages
> > out only when kdump is not enabled.
>
> can we zap_locks() if we are on nmi_panic()->panic()->console_flush_on_panic() path?
> console_flush_on_panic() is happening after we send out smp_send_stop().

can something like this do the trick?

====8<====