aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorShakeel Butt <shakeel.butt@linux.dev>2025-02-27 23:58:07 -0800
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 00:05:35 -0700
commit0e2759afcaf9bff25a63201856fa89b64181749f (patch)
tree67cbf3388a4b814e3b1e656fecc2b37a28db2126 /mm/hugetlb.c
parentmemcg: don't call propagate_protected_usage() for v1 (diff)
downloadwireguard-linux-0e2759afcaf9bff25a63201856fa89b64181749f.tar.xz
wireguard-linux-0e2759afcaf9bff25a63201856fa89b64181749f.zip
page_counter: track failcnt only for legacy cgroups
Currently page_counter tracks failcnt for counters used by v1 and v2 controllers. However failcnt is only exported for v1 deployment and thus there is no need to maintain it in v2. The oom report does expose failcnt for memory and swap in v2 but v2 already maintains MEMCG_MAX and MEMCG_SWAP_MAX event counters which can be used. Link: https://lkml.kernel.org/r/20250228075808.207484-3-shakeel.butt@linux.dev Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Muchun Song <muchun.song@linux.dev> Cc: Roman Gushchin (Cruise) <roman.gushchin@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions