Re: [PATCH 1/4] memcg: use mod_node_page_state to update stats

From: Shakeel Butt

Date: Sun Feb 01 2026 - 23:55:21 EST


> >
> > >
> > > Hello Shakeel,
> > >
> > > We are seeing a regression in micromm/munmap benchmark with this patch, on arm64 -
> > > the benchmark mmmaps a lot of memory, memsets it, and measures the time taken
> > > to munmap. Please see below if my understanding of this patch is correct.
> > >
> > Thanks for the report. Are you seeing regression in just the benchmark
> > or some real workload as well? Also how much regression are you seeing?
> > I have a kernel rebot regression report [1] for this patch as well which
> > says 2.6% regression and thus it was on the back-burner for now. I will
> > take look at this again soon.
> >
> The munmap regression is ~24%. Haven't observed a regression in any other
> benchmark yet.

Please share the code/benchmark which shows such regression, also if you can
share the perf profile, that would be awesome.