diff options
| author | Jingxiang Zeng <[email protected]> | 2024-08-30 16:22:44 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-11-05 16:56:21 -0800 |
| commit | 15ff4d409e1a6f939d94d2005ae275c26b2b0d9d (patch) | |
| tree | c53b63f2652fd4d70dabb3efd5fa66ff15f75bce /tools/perf/scripts/python/futex-contention.py | |
| parent | ba7196e566516f798635e26e976ae44f708d9d54 (diff) | |
mm/memcontrol: add per-memcg pgpgin/pswpin counter
In proactive memory reclamation scenarios, it is necessary to estimate the
pswpin and pswpout metrics of the cgroup to determine whether to continue
reclaiming anonymous pages in the current batch. This patch will collect
these metrics and expose them.
[[email protected]: v2]
Link: https://lkml.kernel.org/r/[email protected]
Li nk: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jingxiang Zeng <[email protected]>
Acked-by: Nhat Pham <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions