[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220419213244.2104972-1-void@manifault.com>
Date: Tue, 19 Apr 2022 14:32:40 -0700
From: David Vernet <void@...ifault.com>
To: tj@...nel.org, lizefan.x@...edance.com, hannes@...xchg.org,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: kernel-team@...com
Subject: [PATCH 0/4] cgroup: Introduce cpu controller test suite
This patchset introduces a new test_cpu.c test suite as part of
tools/testing/selftests/cgroup. test_cpu.c will contain testcases that
validate the cgroup v2 cpu controller.
This patchset only contains testcases that validate cpu.stat and
cpu.weight, but I'm expecting to send further patchsets after this that
also include testcases that validate other knobs such as cpu.max.
Note that checkpatch complains about a missing MAINTAINERS file entry for
[PATCH 1/4], but Roman Gushchin added that entry in a separate patchset:
https://lore.kernel.org/all/20220415000133.3955987-4-roman.gushchin@linux.dev/.
David Vernet (4):
cgroup: Add new test_cpu.c test suite in cgroup selftests
cgroup: Add test_cgcpu_stats() testcase to cgroup cpu selftests
cgroup: Add test_cgcpu_weight_overprovisioned() testcase
cgroup: Add new test_cgcpu_weight_underprovisioned() testcase
tools/testing/selftests/cgroup/.gitignore | 1 +
tools/testing/selftests/cgroup/Makefile | 2 +
tools/testing/selftests/cgroup/cgroup_util.c | 12 +
tools/testing/selftests/cgroup/cgroup_util.h | 4 +
tools/testing/selftests/cgroup/test_cpu.c | 416 +++++++++++++++++++
5 files changed, 435 insertions(+)
create mode 100644 tools/testing/selftests/cgroup/test_cpu.c
--
2.30.2
Powered by blists - more mailing lists