]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: Add test_cpucg_max_nested() testcase
authorDavid Vernet <void@manifault.com>
Sat, 23 Apr 2022 12:30:53 +0000 (05:30 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 25 Apr 2022 17:27:31 +0000 (07:27 -1000)
commit307dfd1201a713e3a89cc54e5a8bc07c30af5025
tree23c45ca4aa473ec149e259ca0fc2aa004070fa2b
parent508f7c19058516cc0cd51579ce8b5e6f95d562b1
cgroup: Add test_cpucg_max_nested() testcase

The cgroup cpu controller selftests have a test_cpucg_max() testcase
that validates the behavior of the cpu.max knob. Let's also add a
testcase that verifies that the behavior works correctly when set on a
nested cgroup.

Signed-off-by: David Vernet <void@manifault.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/cgroup/test_cpu.c