mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
3c879a1bb8
test_cpu.c includes testcases that validate the cgroup cpu controller. This patch adds a new testcase called test_cpucg_stats() that verifies the expected behavior of the cpu.stat interface. In doing so, we define a new hog_cpus_timed() function which takes a cpu_hog_func_param struct that configures how many CPUs it uses, and how long it runs. Future patches will also spawn threads that hog CPUs, so this function will eventually serve those use-cases as well. Signed-off-by: David Vernet <void@manifault.com> Signed-off-by: Tejun Heo <tj@kernel.org> |
||
---|---|---|
.. | ||
.gitignore | ||
cgroup_util.c | ||
cgroup_util.h | ||
Makefile | ||
test_core.c | ||
test_cpu.c | ||
test_freezer.c | ||
test_kill.c | ||
test_kmem.c | ||
test_memcontrol.c | ||
test_stress.sh | ||
with_stress.sh |