From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966264AbbLRCdY (ORCPT ); Thu, 17 Dec 2015 21:33:24 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:33734 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966029AbbLRCdW (ORCPT ); Thu, 17 Dec 2015 21:33:22 -0500 Subject: Re: [PATCH 2/2] cgroup: put controller Kconfig options in meaningful order To: Johannes Weiner , Tejun Heo References: <1450390797-4748-1-git-send-email-hannes@cmpxchg.org> <1450390797-4748-3-git-send-email-hannes@cmpxchg.org> CC: , , From: Zefan Li Message-ID: <56736EBD.8060302@huawei.com> Date: Fri, 18 Dec 2015 10:26:05 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1450390797-4748-3-git-send-email-hannes@cmpxchg.org> Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.19.236] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.56736ED2.0065,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 14901cb9f3af5870688097ff12af2eb7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Zefan Li > --- > 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 > >