Re: [PATCH next v4 1/2] lib/dump_stack: move cpu lock to printk.c
From: Steven Rostedt
Date: Fri Jun 18 2021 - 12:25:46 EST
On Fri, 18 Jun 2021 16:47:39 +0200
Petr Mladek <pmladek@xxxxxxxx> wrote:
> Good point! Just to be sure. Do you see the messed output with plain
> kernel? Or do you need the extra patches (from Peter Zijlstra) that
> redirect normal printk() to early_printk()?
I sometimes use this with Peter's patches, which also do basically the
same thing.
>
> My understanding is that early_printk() is used only for very early
> boot message in plain kernel. And that there is not much concurrency
> at that time.
It will continue if you use ",keep" option. And that is something I
have done without Peter's patches, but then they become illegible when
there's a bug if more than one CPU triggers.
>
> That said. I always wanted to upstream Peter's patchset. But I never
> found time to clean it up.
That would be great too!
-- Steve