Skip to content

selftests: cgroup: add zswap test program

Domenico Cerasuolo cgroups linux-kselftest lkml 1 version Applied

Status from this message: [merged mm-stable] selftests-cgroup-add-zswap-memcg-unwanted-writeback-test.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3selftests: cgroup: add test_zswap programtools/testing/selftests/cgroup/.gitignore tools/testing/selftests/cgroup/Makefile tools/testing/selftests/cgroup/test_zswap.c+65 -00 repliesApplied
2/3selftests: cgroup: add test_zswap with no kmem bypass testtools/testing/selftests/cgroup/test_zswap.c+163 -00 repliesApplied
3/3selftests: cgroup: add zswap-memcg unwanted writeback testtools/testing/selftests/cgroup/test_zswap.c+61 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] selftests: cgroup: add zswap test program

This series adds 2 zswap related selftests that verify known and fixed issues. A new dedicated test program (test_zswap) is proposed since the test cases are specific to zswap and hosts specific helpers.

The first patch adds the (empty) test program, while the other 2 add an actual test function each.

Domenico Cerasuolo (3):
selftests: cgroup: add test_zswap program
selftests: cgroup: add test_zswap with no kmem bypass test
selftests: cgroup: add zswap-memcg unwanted writeback test

 tools/testing/selftests/cgroup/.gitignore   |   1 +
 tools/testing/selftests/cgroup/Makefile     |   2 +
 tools/testing/selftests/cgroup/test_zswap.c | 286 ++++++++++++++++++++
 3 files changed, 289 insertions(+)
 create mode 100644 tools/testing/selftests/cgroup/test_zswap.c
Signature · 1 line
2.34.1