Messages in this thread | | | Date | Tue, 12 Dec 2023 12:57:28 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH mm 1/4] lib/stackdepot: add printk_deferred_enter/exit guards |
| |
On Tue, 12 Dec 2023 19:59:29 +0100 Marco Elver <elver@google.com> wrote:
> On Tue, 12 Dec 2023 at 01:14, <andrey.konovalov@linux.dev> wrote: > > > > From: Andrey Konovalov <andreyknvl@google.com> > > > > Stack depot functions can be called from various contexts that do > > allocations, including with console locks taken. At the same time, stack > > depot functions might print WARNING's or refcount-related failures. > > > > This can cause a deadlock on console locks. > > > > Add printk_deferred_enter/exit guards to stack depot to avoid this. > > > > Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> > > Closes: https://lore.kernel.org/all/000000000000f56750060b9ad216@google.com/ > > Signed-off-by: Andrey Konovalov <andreyknvl@google.com> > > Reviewed-by: Marco Elver <elver@google.com> > > Doesn't need Fixes, because the series is not yet in mainline, right?
I've moved the series "stackdepot: allow evicting stack traces, v4" (please, not "the stack depot eviction series") into mm-nonmm-stable. Which is allegedly non-rebasing.
So yes please, provide Fixes: on each patch.
| |