From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Wagner Subject: Re: [PATCH v3 7/8] cgroup: Assign subsystem IDs during compile time Date: Tue, 11 Sep 2012 23:15:59 +0200 Message-ID: <504FAA0F.600@monom.org> References: <1347380774-9546-1-git-send-email-wagi@monom.org> <1347380774-9546-8-git-send-email-wagi@monom.org> <20120911210435.GA7677@google.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120911210435.GA7677-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Tejun Heo Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Daniel Wagner , "David S. Miller" , Andrew Morton , Eric Dumazet , Gao feng , Glauber Costa , Jamal Hadi Salim , John Fastabend , Kamezawa Hiroyuki , Li Zefan , Neil Horman Hi Tejun, On 09/11/2012 11:04 PM, Tejun Heo wrote: > Hello, Daniel. > > One more thing. > > On Tue, Sep 11, 2012 at 06:26:13PM +0200, Daniel Wagner wrote: >> From: Daniel Wagner >> >> WARNING: With this change it is not possible to load external built >> controllers anymore. >> >> In case where CONFIG_NETPRIO_CGROUP=m and CONFIG_NET_CLS_CGROUP=m is >> set, the type of the corresponding subsys_id should also be of type >> enum. Up to now, net_prio_subsys_id and net_cls_subsys_id would be an >> int in this configuration. >> >> With switching the macro definition IS_SUBSYS_ENABLED from IS_BUILTIN >> to IS_ENABLED, the subsys_id will always be enum for all >> subsystems. That means we need to remove all the code which assumes >> that net_prio_subsys_id and net_cls_subsys_id is of type int. > > I don't think int or enum is the matter here. enum is an int. It's > whether the ID is allocated statically or dynamically. Can you please > update the description using those terms instead? Sure, no problem. cheers, daniel