cgroup: Add test_cpucg_max() testcase
authorDavid Vernet <void@manifault.com>
Sat, 23 Apr 2022 12:30:52 +0000 (05:30 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 25 Apr 2022 17:27:31 +0000 (07:27 -1000)
commit889ab8113ef1386c57d64da106b850e752949f07
treea59198119b58b92943b77d5070e675a5ef326daf
parent89ca0efa8468f230df965257d0c03fc3664b4331
cgroup: Add test_cpucg_max() testcase

The cgroup cpu controller test suite has a number of testcases that
validate the expected behavior of the cpu.weight knob, but none for
cpu.max. This testcase fixes that by adding a testcase for cpu.max as well.

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