Re: [PATCH v2] mm/alloc_tag: clear codetag for pages allocated before page_ext initialization
From: Andrew Morton
Date: Thu Mar 26 2026 - 21:34:31 EST
On Thu, 26 Mar 2026 18:19:56 -0700 Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:
> >
> > Do people use CONFIG_MEM_ALLOC_PROFILING_DEBUG much? Is a backport
> > really needed?
>
> IMO backport would be good.
OK, thanks, I'll slap a cc:stable on it and keep it in the 7.1.rc1 queue.
I added
"This bug occurs when CONFIG_MEM_ALLOC_PROFILING_DEBUG=y."
somewhere in the changelog but that's pretty lame and could be expanded
upon in a respin.
> >
> > Either way, it seems that this isn't a very urgent issue so I'm
> > inclined to add it to the 7.1-rc1 pile, perhaps with a cc:stable.
> >
> > Please all share your thoughts with me, thanks.
>
> I'm reviewing and testing the patch and there is a race and a couple
> of smaller issues. I'll post a reply later today.
Cool. I was going to keep it in there for mm-new testing (which is
light). But I guess there isn't much value in this so I'll drop v2.
Sashiko had a bunch of nags, but I think you're checking that routinely?
https://sashiko.dev/#/patchset/20260326140554.191996-1-hao.ge%40linux.dev