Re: [PATCH] printk/nmi: Prevent deadlock when serializing NMI backtraces

From: Steven Rostedt
Date: Tue Jun 19 2018 - 22:33:50 EST


On Wed, 20 Jun 2018 10:58:34 +0900
Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx> wrote:

> Which one of these you'd prefer to see in ftrace_dump():
>
> - printk_nmi_direct_enter() / printk_nmi_direct_exit()

The above appears to be the most sane.

-- Steve

> - printk_chatty_nmi_enter() / printk_chatty_nmi_exit()
> - printk_large_nmi_enter() / printk_large_nmi_exit()
> - printk_dump_nmi_enter() / printk_dump_nmi_exit()