diff options
author | David Vernet <void@manifault.com> | 2022-04-22 10:33:49 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-04-22 08:39:32 -1000 |
commit | 820a4f88ee4636433a46fcf14054036d0f71e798 (patch) | |
tree | 431e832b4c16fd7664e13ef06ef88d207f146e24 /tools/testing/selftests/cgroup/.gitignore | |
parent | 281b9d9a4b02229b602a14f7540206b0fbe4134f (diff) | |
download | linux-820a4f88ee4636433a46fcf14054036d0f71e798.tar.bz2 |
cgroup: Add new test_cpu.c test suite in cgroup selftests
The cgroup selftests suite currently contains tests that validate various
aspects of cgroup, such as validating the expected behavior for memory
controllers, the expected behavior of cgroup.procs, etc. There are no tests
that validate the expected behavior of the cgroup cpu controller.
This patch therefore adds a new test_cpu.c file that will contain cpu
controller testcases. The file currently only contains a single testcase
that validates creating nested cgroups with cgroup.subtree_control
including cpu. Future patches will add more sophisticated testcases that
validate functional aspects of the cpu controller.
Signed-off-by: David Vernet <void@manifault.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/cgroup/.gitignore')
-rw-r--r-- | tools/testing/selftests/cgroup/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/cgroup/.gitignore b/tools/testing/selftests/cgroup/.gitignore index be9643ef6285..306ee1b01e72 100644 --- a/tools/testing/selftests/cgroup/.gitignore +++ b/tools/testing/selftests/cgroup/.gitignore @@ -4,3 +4,4 @@ test_core test_freezer test_kmem test_kill +test_cpu |