Re: [RFC][PATCH] printk: do not call console drivers from printk_safe context

From: Petr Mladek
Date: Mon Jun 18 2018 - 05:59:38 EST


On Mon 2018-06-18 15:39:16, Sergey Senozhatsky wrote:
> On (04/25/18 16:48), Petr Mladek wrote:
> >
> > So I agree that printk_safe context does not help much. And I fine
> > with this patch.
> >
>
> Petr, do you want me to resend the patch with the updated commit message?

I am sorry for abandoning this patch. Hmm, I am a bit unsure about it now.

The printk_safe context partly prevents recursion problems when
console drivers print messages. I expected that this patch
would have been pushed together with a better solution for
the recursion. But we still do not have any.

Would you mind to keep it on hold for now? I know that it might
help in some situations. But it also makes the code more complicated
and there is some risk of a regression. I would prefer when it
is pushed in a situation when it is a clear win.

Best Regards,
Petr