diff options
| author | Domenico Cerasuolo <[email protected]> | 2023-06-21 17:35:47 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:08 -0700 |
| commit | a549f9f31561a569e3c7a4cb6226a0b31d35fc89 (patch) | |
| tree | 6d743ee8ef5be5fe4fda34b64618740e05780520 /tools/perf/scripts/python | |
| parent | fe3b1bf19bdf122ec3d3bff03329df2044ae0f18 (diff) | |
selftests: cgroup: add test_zswap with no kmem bypass test
Add a cgroup selftest that verifies memcg charging in zswap. The original
issue was that kmem bypass was applied to pages swapped out to zswap by
kswapd, resulting in zswapped memory not being charged. It was fixed by
commit cd08d80ecdac("mm: correctly charge compressed memory to its
memcg").
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Domenico Cerasuolo <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Nhat Pham <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Seth Jennings <[email protected]>
Cc: Shakeel Butt <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Vitaly Wool <[email protected]>
Cc: Zefan Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions