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

From: Steven Rostedt
Date: Tue Jun 19 2018 - 09:23:13 EST


On Tue, 19 Jun 2018 17:27:16 +0900
Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx> wrote:

> On (06/19/18 09:52), Petr Mladek wrote:
> > On Mon 2018-06-18 19:07:18, Sergey Senozhatsky wrote:
> > > On (06/18/18 11:39), Petr Mladek wrote:
> > > [..]
> > >
> > > Hmm. Can't answer right now :)
> >
> > Please, let me know what name you would like ;-)
>
> :) Wow, it's hard. Maybe we can derive some bits from the ftrace_dump()
> function name? Dunno... Does printk_dump_nmi_enter() sound terrible?
>
> Maybe Steven has some opinions on this?
>

What exactly is the question?

Also, from a previous email in this thread, if you have to risk
interleaved output to solve a deadlock, then just do that.

-- Steve