Re: [RFC PATCH] mm: memcontrol: don't account swap failures not due to cgroup limits

From: Roman Gushchin
Date: Fri Feb 03 2023 - 14:20:38 EST


On Fri, Feb 03, 2023 at 11:07:30AM -0800, Yang Shi wrote:
> On Fri, Feb 3, 2023 at 11:00 AM Roman Gushchin <roman.gushchin@xxxxxxxxx> wrote:
> >
> > On Thu, Feb 02, 2023 at 10:56:26AM -0500, Johannes Weiner wrote:
> > > Christian reports the following situation in a cgroup that doesn't
> > > have memory.swap.max configured:
> > >
> > > $ cat memory.swap.events
> > > high 0
> > > max 0
> > > fail 6218
> > >
> > > Upon closer examination, this is an ARM64 machine that doesn't support
> > > swapping out THPs.
> >
> > Do we expect it to be added any time soon or it's caused by some system
> > limitations?
>
> AFAIK, it has been supported since 6.0. See commit d0637c505f8a1

Great, thank you for the link!
Then it looks like we have even fewer reasons to change the interface.

Thanks!