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

Message ID 20230621153548.428093-1-cerasuolodomenico@gmail.com
Headers
Series selftests: cgroup: add zswap test program |

Message

Domenico Cerasuolo June 21, 2023, 3:35 p.m. UTC
  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