Re: [PATCH 1/5] cgroup: Adding test_cpucg_nested_weight_overprovisioned() testcase

From: Tejun Heo
Date: Mon Apr 25 2022 - 13:29:05 EST


On Sat, Apr 23, 2022 at 05:30:50AM -0700, David Vernet wrote:
> The cgroup cpu controller tests in
> tools/testing/selftests/cgroup/test_cpu.c have some testcases that validate
> the expected behavior of setting cpu.weight on cgroups, and then hogging
> CPUs. What is still missing from the suite is a testcase that validates
> nested cgroups. This patch adds test_cpucg_nested_weight_overprovisioned(),
> which validates that a parent's cpu.weight will override its children if
> they overcommit a host, and properly protect any sibling groups of that
> parent.
>
> Signed-off-by: David Vernet <void@xxxxxxxxxxxxx>

Applied 1-5 to cgroup/for-5.19.

Thanks.

--
tejun