diff options
| author | Johannes Weiner <[email protected]> | 2022-05-19 14:08:53 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-05-19 14:08:53 -0700 |
| commit | f6498b776d280b30a4614d8261840961e993c2c8 (patch) | |
| tree | b35704e2a62cc7630d06658fc6faaeba24b18e2a /tools/perf/scripts/python | |
| parent | b3fbd58fcbb10725a1314688e03b1af6827c42f9 (diff) | |
mm: zswap: add basic meminfo and vmstat coverage
Currently it requires poking at debugfs to figure out the size and
population of the zswap cache on a host. There are no counters for reads
and writes against the cache. As a result, it's difficult to understand
zswap behavior on production systems.
Print zswap memory consumption and how many pages are zswapped out in
/proc/meminfo. Count zswapouts and zswapins in /proc/vmstat.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Seth Jennings <[email protected]>
Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions