]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftest/cgroup: Add a remote partition transition test to test_cpuset_prs.sh
authorWaiman Long <longman@redhat.com>
Sun, 30 Mar 2025 21:52:48 +0000 (17:52 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 31 Mar 2025 23:28:19 +0000 (13:28 -1000)
commite8a457b73569d7096ff46c307c37dbba55dd7a9c
tree77ffeac58d06ee98c725f09930c19db92a9b92d2
parentb2b2b4d058b776be0168b4ea46ed84cfb0f884e9
selftest/cgroup: Add a remote partition transition test to test_cpuset_prs.sh

The current cgroup directory layout for running the partition state
transition tests is mainly suitable for testing local partitions as
well as with a mix of local and remote partitions. It is not that
suitable for doing extensive remote partition and nested remote/local
partition testing.

Add a new set of remote partition tests REMOTE_TEST_MATRIX with another
cgroup directory structure more tailored for remote partition testing
to provide better code coverage.

Also add a few new test cases as well as adjusting existig ones for
the original TEST_MATRIX.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/cgroup/test_cpuset_prs.sh