Re: [PATCH 2/2] cgroup: put controller Kconfig options in meaningful order
From: Zefan Li <hidden>
Date: 2015-12-18 02:33:24
Also in:
lkml
On 2015/12/18 6:19, Johannes Weiner wrote:
To make it easier to quickly find what's needed list the basic resource controllers of cgroup2 first - io, memory, cpu - while pushing the more exotic and/or legacy controllers to the bottom. Signed-off-by: Johannes Weiner <redacted>
Acked-by: Zefan Li <redacted>
quoted hunk ↗ jump to hunk
--- init/Kconfig | 214 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 107 insertions(+), 107 deletions(-)diff --git a/init/Kconfig b/init/Kconfig index ed324f5..fdb5ecb 100644 --- a/init/Kconfig +++ b/init/Kconfig@@ -957,64 +957,6 @@ menuconfig CGROUPS
...
+config CGROUP_PERF + bool "Perf controller" + depends on PERF_EVENTS && CGROUPS
While you are at it, remove "&& CGROUPS" ?
+ help + This option extends the perf per-cpu mode to restrict monitoring + to threads which belong to the cgroup specified and run on the + designated cpu. + + Say N if unsure. + +config CGROUP_DEBUG + bool "Example controller" default n - ---help--- - Enable some debugging help. Currently it exports additional stat - files in a cgroup which can be useful for debugging. + help + This option enables a simple controller that exports + debugging information about the cgroups framework. -config CGROUP_WRITEBACK - bool - depends on MEMCG && BLK_CGROUP - default y + Say N. endif # CGROUPS