Re: [PATCH 1/1] alloc_tag: allocate percpu counters for module tags dynamically

From: Andrew Morton
Date: Mon May 19 2025 - 20:21:42 EST


On Mon, 19 May 2025 16:13:28 -0700 Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:

> > > Fixes: 0db6f8d7820a ("alloc_tag: load module tags into separate contiguous memory")
> > > Reported-by: David Wang <00107082@xxxxxxx>
> > > Closes: https://lore.kernel.org/all/20250516131246.6244-1-00107082@xxxxxxx/
> > > Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
> > > ---
> > > include/linux/alloc_tag.h | 12 ++++++
> > > include/linux/codetag.h | 8 ++--
> > > include/linux/percpu.h | 4 --
> > > lib/alloc_tag.c | 87 +++++++++++++++++++++++++++++++--------
> > > lib/codetag.c | 5 ++-
> > > 5 files changed, 88 insertions(+), 28 deletions(-)
> >
> > Should we backport this fix into -stable kernels? I'm thinking yes.
>
> Yes, I should have CC'ed stable. The patch this one is fixing was
> first introduced in 6.13. I just tried and it applies cleanly to
> stable linux-6.13.y and linux-6.14.y.
> Should I forward this email to stable or send a separate patch to them?

I added cc:stable to the mm.git copy so all is OK. That's the usual
workflow.