]> 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>
Mon, 22 Aug 2022 22:58:18 +0000 (15:58 -0700)
commit97c9e00dbc20af5e2a6194c57cb83f5d7423496d
tree18cc3082102d411ce5e7c5c71a687348d61f97c0
parent83957d0cf38fd28b9eac5565f6260c2462796048
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