diff options
| author | David Vernet <[email protected]> | 2022-04-22 10:33:52 -0700 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2022-04-22 08:39:32 -1000 |
| commit | 6376b22cd0a3455a534b6921b816ffab68ddc48f (patch) | |
| tree | effbe15726c30e72f53f338f1fb36051406fe917 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | 3c879a1bb88792c05c2dd6a957423838b2830d73 (diff) | |
cgroup: Add test_cpucg_weight_overprovisioned() testcase
test_cpu.c includes testcases that validate the cgroup cpu controller.
This patch adds a new testcase called test_cpucg_weight_overprovisioned()
that verifies the expected behavior of creating multiple processes with
different cpu.weight, on a system that is overprovisioned.
So as to avoid code duplication, this patch also updates cpu_hog_func_param
to take a new hog_clock_type enum which informs how time is counted in
hog_cpus_timed() (either process time or wall clock time).
Signed-off-by: David Vernet <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions