• David Vernet's avatar
    cgroup: Add test_cpucg_nested_weight_underprovisioned() testcase · 89ca0efa
    David Vernet authored
    The cgroup cpu controller test suite currently contains a testcase called
    test_cpucg_nested_weight_underprovisioned() which verifies the expected
    behavior of cpu.weight when applied to nested cgroups. That first testcase
    validated the expected behavior when the processes in the leaf cgroups
    overcommitted the system. This patch adds a complementary
    test_cpucg_nested_weight_underprovisioned() testcase which validates
    behavior when those leaf cgroups undercommit the system.
    Signed-off-by: default avatarDavid Vernet <void@manifault.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    89ca0efa
test_cpu.c 13.4 KB