From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: [PATCH 2/5] cgroup: make cgroup_is_removed() static Date: Fri, 24 May 2013 11:32:53 +0800 Message-ID: <519EDF65.3050409@huawei.com> References: <1369101025-28335-1-git-send-email-tj@kernel.org> <1369101025-28335-3-git-send-email-tj@kernel.org> <20130524015613.GB19755@mtj.dyndns.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130524015613.GB19755-9pTldWuhBndy/B6EtB590w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Tejun Heo Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, aris-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org, mhocko-AlSwsSmVLrQ@public.gmane.org, hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org, bsingharora-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org On 2013/5/24 9:56, Tejun Heo wrote: > On Tue, May 21, 2013 at 10:50:22AM +0900, Tejun Heo wrote: >> cgroup_is_removed() no longer has external users and it shouldn't grow >> any - controllers should deal with cgroup_subsys_state on/offline >> state instead of cgroup removal state. Make it static. >> >> While at it, make it return bool. >> >> Signed-off-by: Tejun Heo > > Applied 2-5 to cgroup/for-3.11. > Acked-by: Li Zefan Has been kind of busy with internal work. I'll update the cpuset patchset to use this.