]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: memcg: export workingset refault stats for cgroup v1
authorYang Shi <shy828301@gmail.com>
Tue, 16 Aug 2022 18:58:01 +0000 (11:58 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:03:08 +0000 (22:03 -0700)
commitbf0950d04feb6a7d97d005e06801943ad2a56347
tree8d74d36bc692fe3d4fb73b32422d7947bf1b5da5
parentcb3420118df99fe46d43c0f1be8d7926e87c883a
mm: memcg: export workingset refault stats for cgroup v1

Workingset refault stats are important and useful metrics to measure how
well reclaimer and swapping work and how healthy the services are, but
they are just available for cgroup v2.  There are still plenty users with
cgroup v1, export the stats for cgroup v1.

Link: https://lkml.kernel.org/r/20220816185801.651091-1-shy828301@gmail.com
Signed-off-by: Yang Shi <shy828301@gmail.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol.c