The patch titled Subject: mmmemcg-provide-per-cgroup-counters-for-numa-balancing-operations-v4 has been added to the -mm mm-unstable branch. Its filename is mmmemcg-provide-per-cgroup-counters-for-numa-balancing-operations-v4.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mmmemcg-provide-per-cgroup-counters-for-numa-balancing-operations-v4.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Kaiyang Zhao <kaiyang2@xxxxxxxxxx> Subject: mmmemcg-provide-per-cgroup-counters-for-numa-balancing-operations-v4 Date: Wed, 14 Aug 2024 23:51:22 +0000 added documentation of the memcg counters in cgroup-v2.rst Link: https://lkml.kernel.org/r/20240814235122.252309-1-kaiyang2@xxxxxxxxxx Signed-off-by: Kaiyang Zhao <kaiyang2@xxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxxxx> Cc: Muchun Song <muchun.song@xxxxxxxxx> Cc: Roman Gushchin <roman.gushchin@xxxxxxxxx> Cc: Shakeel Butt <shakeel.butt@xxxxxxxxx> Cc: Wei Xu <weixugc@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/admin-guide/cgroup-v2.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) --- a/Documentation/admin-guide/cgroup-v2.rst~mmmemcg-provide-per-cgroup-counters-for-numa-balancing-operations-v4 +++ a/Documentation/admin-guide/cgroup-v2.rst @@ -1617,6 +1617,25 @@ The following nested keys are defined. Usually because failed to allocate some continuous swap space for the huge page. + numa_pages_migrated (npn) + Number of pages migrated by NUMA balancing. + + numa_pte_updates (npn) + Number of pages whose page table entries are modified by + NUMA balancing to produce NUMA hinting faults on access. + + numa_hint_faults (npn) + Number of NUMA hinting faults. + + pgdemote_kswapd + Number of pages demoted by kswapd. + + pgdemote_direct + Number of pages demoted directly. + + pgdemote_khugepaged + Number of pages demoted by khugepaged. + memory.numa_stat A read-only nested-keyed file which exists on non-root cgroups. _ Patches currently in -mm which might be from kaiyang2@xxxxxxxxxx are mm-consider-cma-pages-in-watermark-check-for-numa-balancing-target-node.patch mm-create-promo_wmark_pages-and-clean-up-open-coded-sites.patch mm-print-the-promo-watermark-in-zoneinfo.patch mmmemcg-provide-per-cgroup-counters-for-numa-balancing-operations.patch mmmemcg-provide-per-cgroup-counters-for-numa-balancing-operations-v4.patch