aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/cgroup
diff options
context:
space:
mode:
authorDavid Vernet <void@manifault.com>2022-04-23 05:30:54 -0700
committerTejun Heo <tj@kernel.org>2022-04-25 07:27:31 -1000
commit5c26993c31f0f726aa1f90158f17ec95069b7cb2 (patch)
tree0f75007f38546a8e7a1bec7d24b7550865e8a0fb /tools/testing/selftests/cgroup
parentcgroup: Add test_cpucg_max_nested() testcase (diff)
downloadlinux-dev-5c26993c31f0f726aa1f90158f17ec95069b7cb2.tar.xz
linux-dev-5c26993c31f0f726aa1f90158f17ec95069b7cb2.zip
cgroup: Add config file to cgroup selftest suite
Most of the test suites in tools/testing/selftests contain a config file that specifies which kernel config options need to be present in order for the test suite to be able to run and perform meaningful validation. There is no config file for the tools/testing/selftests/cgroup test suite, so this patch adds one. Signed-off-by: David Vernet <void@manifault.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/cgroup')
-rw-r--r--tools/testing/selftests/cgroup/config8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/testing/selftests/cgroup/config b/tools/testing/selftests/cgroup/config
new file mode 100644
index 000000000000..84fe884fad86
--- /dev/null
+++ b/tools/testing/selftests/cgroup/config
@@ -0,0 +1,8 @@
+CONFIG_CGROUPS=y
+CONFIG_CGROUP_CPUACCT=y
+CONFIG_CGROUP_FREEZER=y
+CONFIG_CGROUP_SCHED=y
+CONFIG_MEMCG=y
+CONFIG_MEMCG_KMEM=y
+CONFIG_MEMCG_SWAP=y
+CONFIG_PAGE_COUNTER=y