[LTP] [PATCH 0/2] update memcg controller regression tests

Luke Nowakowski-Krijger luke.nowakowskikrijger@canonical.com
Mon Nov 22 21:14:57 CET 2021


These patches aim to update old tests in controllers/memcg to use new
test infastructure for maintainability as well as to update the tests to
work when the memory controller is mounted on the cgroup2 hierarchy.

I will more or less be using these changes as a template to update other
tests to work under cgroup2 (or at least report something reasonable instead
of failing to mount), so I would appreciate any suggestions anyone has. 

Luke Nowakowski-Krijger (2):
  controllers/memcg: Update regression tests to newer test infastructure
  controllers/memcg: Add cgroup2 support for regression tests

 .../memcg/regression/memcg_regression_test.sh | 175 +++++++++++-------
 .../memcg/regression/memcg_test_1.c           |  12 +-
 .../memcg/regression/memcg_test_3.c           |  35 ++--
 .../memcg/regression/memcg_test_4.sh          |  25 ++-
 4 files changed, 145 insertions(+), 102 deletions(-)

-- 
2.32.0



More information about the ltp mailing list