Re: [PATCH] mm/page_alloc.c: Avoid infinite retries caused by cpuset race
From: Andrew Morton
Date: Sat May 10 2025 - 23:07:48 EST
On Tue, 22 Apr 2025 17:22:04 -0700 Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:
> On Tue, Apr 22, 2025 at 5:11 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > On Tue, 22 Apr 2025 20:10:06 +0800 Tianyang Zhang <zhangtianyang@xxxxxxxxxxx> wrote:
> >
> > >
> > > ...
> > >
> > > >>
> > > >> Simultaneously starting multiple cpuset01 from LTP can quickly
> > > >> reproduce this issue on a multi node server when the maximum
> > > >> memory pressure is reached and the swap is enabled
> > > >>
> > > >> Signed-off-by: Tianyang Zhang <zhangtianyang@xxxxxxxxxxx>
> > > >> ---
> > > > What commit does it fix and should it be backported to -stable?
> > > >
> > > > There's a new 'MEMORY MANAGEMENT - PAGE ALLOCATOR' entry (only in
> > > > Andrew's mm.git repository now).
> > > >
> > > > Let's Cc the page allocator folks here!
> > >
> > > We first identified this issue in 6.6.52-stable , and through root cause
> > > analysis,
> > >
> > > it appears the problem may have existed for a significant period.
> > >
> > > However It is recommended that the fix should be backported to at least
> > > Linux kernel versions after 6.6-stable
> >
> > OK, thanks,
> >
> > This has been in mm-hotfixes-unstable for six days. Hopefully we'll
> > see some review activity soon (please).
>
> I reviewed and provided my feedback but saw neither a reply nor a
> respin with proposed changes.
OK, thanks. Do you have time to put together a modified version of this?