From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: [PATCH v4 6/8] cgroup: Do not depend on a given order when populating the subsys array Date: Thu, 13 Sep 2012 14:42:01 +0800 Message-ID: <50518039.6000106@huawei.com> References: <1347459128-32236-1-git-send-email-wagi@monom.org> <1347459128-32236-7-git-send-email-wagi@monom.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1347459128-32236-7-git-send-email-wagi-kQCPcA+X3s7YtjvyW6yDsg@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Daniel Wagner Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Daniel Wagner , Gao feng , Jamal Hadi Salim , John Fastabend , Neil Horman , Tejun Heo On 2012/9/12 22:12, Daniel Wagner wrote: > From: Daniel Wagner > > The *_subsys_id will be used as index to access the subsys. Therefore > we need to care we populate the subsystem at the correct position by > using designated initialization. > > With this change we are able to interleave builtin and modules in the subsys > array. > > Signed-off-by: Daniel Wagner > Cc: Gao feng > Cc: Jamal Hadi Salim > Cc: John Fastabend > Cc: Li Zefan > Cc: Neil Horman > Cc: Tejun Heo > Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > --- > kernel/cgroup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Li Zefan From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: [PATCH v4 6/8] cgroup: Do not depend on a given order when populating the subsys array Date: Thu, 13 Sep 2012 14:42:01 +0800 Message-ID: <50518039.6000106@huawei.com> References: <1347459128-32236-1-git-send-email-wagi@monom.org> <1347459128-32236-7-git-send-email-wagi@monom.org> Mime-Version: 1.0 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit Cc: , , Daniel Wagner , Gao feng , Jamal Hadi Salim , John Fastabend , Neil Horman , Tejun Heo To: Daniel Wagner Return-path: In-Reply-To: <1347459128-32236-7-git-send-email-wagi-kQCPcA+X3s7YtjvyW6yDsg@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On 2012/9/12 22:12, Daniel Wagner wrote: > From: Daniel Wagner > > The *_subsys_id will be used as index to access the subsys. Therefore > we need to care we populate the subsystem at the correct position by > using designated initialization. > > With this change we are able to interleave builtin and modules in the subsys > array. > > Signed-off-by: Daniel Wagner > Cc: Gao feng > Cc: Jamal Hadi Salim > Cc: John Fastabend > Cc: Li Zefan > Cc: Neil Horman > Cc: Tejun Heo > Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > --- > kernel/cgroup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Li Zefan