Re: [RFC][PATCHv3 0/6] printk: use printk_safe to handle printk() recursive calls

Sergey Senozhatsky
2016-10-19T01:14:48Z

On (10/18/16 09:45), Joe Perches wrote:
> On Wed, 2016-10-19 at 00:40 +0900, Sergey Senozhatsky wrote:
> > This patch set extends a lock-less NMI per-cpu buffers idea to
> > handle recursive printk() calls.
>
> trivia:
>
> recursive or reentrant?

a recursive one.

printk -> {foo} -> printk

reentrant printk() case was addressed by Petr Mladek's nmi patchset:

printk()
foo
-------> NMI
printk()

-ss