[LTP] [PATCH 0/4] Update cgroup_fj and memcg controller tests to work under cgroup2

Luke Nowakowski-Krijger luke.nowakowskikrijger@canonical.com
Sat Nov 27 01:04:21 CET 2021


These tests were only testing for controllers under cgroup1. Now that
many controllers are being mounted under cgroup2 by default, we should
update these tests to test things where they make sense and at least
report something when they don't.

Luke Nowakowski-Krijger (4):
  controllers/memcg: update stress test to work under cgroup2
  controllers/memcg: Skip functional tests when mounted under cgroup2
    hierarchy
  controllers/cgroup_fj: Update cgroup_fj_common to work under cgroup2
  controllers/cgroup_fj: Update cgroup_fj_function to work under cgroup2

 .../controllers/cgroup_fj/cgroup_fj_common.sh | 73 +++++++++++++------
 .../cgroup_fj/cgroup_fj_function.sh           | 38 +++++++++-
 .../controllers/memcg/functional/memcg_lib.sh |  8 ++
 .../memcg/stress/memcg_stress_test.sh         | 73 ++++++++++++++-----
 4 files changed, 148 insertions(+), 44 deletions(-)

-- 
2.32.0



More information about the ltp mailing list