Re: [PATCH v6 0/4] mm: add per-order mTHP alloc and swpout counters
From: Barry Song
Date: Fri Apr 12 2024 - 09:16:47 EST
On Sat, Apr 13, 2024 at 12:54 AM David Hildenbrand <david@xxxxxxxxxx> wrote:
>
> On 12.04.24 13:48, Barry Song wrote:
> > From: Barry Song <v-songbaohua@xxxxxxxx>
> >
> > The patchset introduces a framework to facilitate mTHP counters, starting
> > with the allocation and swap-out counters. Currently, only four new nodes
> > are appended to the stats directory for each mTHP size.
> >
> > /sys/kernel/mm/transparent_hugepage/hugepages-<size>/stats
> > anon_fault_alloc
> > anon_fault_fallback
> > anon_fault_fallback_charge
> > anon_swpout
> > anon_swpout_fallback
> >
> > These nodes are crucial for us to monitor the fragmentation levels of
> > both the buddy system and the swap partitions. In the future, we may
> > consider adding additional nodes for further insights.
> >
> > -v6:
> > * collect reviewed-by tags for patch2/4, 3/4, 4/4, Ryan;
> > * move back to static array by using MAX_PTRS_PER_PTE, Ryan;
> > * move to for_each_possible_cpu to handle cpu hotplug, Ryan;
> > * other minor cleanups according to Ryan;
>
> Please *really* not multiple versions of the same patch set on one a
> single day.
Ok. I will leave more time for you to review the older versions before moving
to a new version.
For v5->v6, it is quite a straightforward re-spin though I can understand
it might be a bit annoying if you got v6 while you were reading v5.
>
> --
> Cheers,
>
> David / dhildenb
Thanks
Barry