diff options
| author | David Vernet <[email protected]> | 2022-04-22 10:33:53 -0700 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2022-04-22 08:39:32 -1000 |
| commit | 4ab93063c83a2478863158799b027e9489ad4a40 (patch) | |
| tree | 6107a68676051921dd9f64e61bd16a52b79feb06 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | 6376b22cd0a3455a534b6921b816ffab68ddc48f (diff) | |
cgroup: Add test_cpucg_weight_underprovisioned() testcase
test_cpu.c includes testcases that validate the cgroup cpu controller.
This patch adds a new testcase called test_cpucg_weight_underprovisioned()
that verifies that processes with different cpu.weight that are all running
on an underprovisioned system, still get roughly the same amount of cpu
time.
Because test_cpucg_weight_underprovisioned() is very similar to
test_cpucg_weight_overprovisioned(), this patch also pulls the common logic
into a separate helper function that is invoked from both testcases, and
which uses function pointers to invoke the unique portions of the
testcases.
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