Initate writeback with the steps described in the commit message and check using memory.stat.zswpwb if zswap writeback occurred. v1 -> v2: - Change method of causing writeback from limit zswap to memory reclaim. (Further described in commit message) (Yosry Ahmed) - Document why using random memory (Nhat Pham) Usama Arif (1): selftests: cgroup: add tests to verify the zswap writeback path tools/testing/selftests/cgroup/test_zswap.c | 125 +++++++++++++++++++- 1 file changed, 124 insertions(+), 1 deletion(-) -- 2.43.0