kselftest/cgroup: Add cpuset v2 partition root state test
authorWaiman Long <longman@redhat.com>
Thu, 1 Sep 2022 20:57:45 +0000 (16:57 -0400)
committerTejun Heo <tj@kernel.org>
Sun, 4 Sep 2022 20:47:28 +0000 (10:47 -1000)
commita8c52eba880a6e8c07fc2130604f8e386b90b763
tree957c2b34be0ab11b7af83620968da4db739bb431
parent8cbfdc24fc55a6f9fb1a1f9ed0d33614d7ae7ce0
kselftest/cgroup: Add cpuset v2 partition root state test

Add a test script test_cpuset_prs.sh with a helper program wait_inotify
for exercising the cpuset v2 partition root state code.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/cgroup/.gitignore
tools/testing/selftests/cgroup/Makefile
tools/testing/selftests/cgroup/test_cpuset_prs.sh [new file with mode: 0755]
tools/testing/selftests/cgroup/wait_inotify.c [new file with mode: 0644]