From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: [PATCH 2/9] cgroup: Use rculist ops for cgroup->children Date: Fri, 9 Nov 2012 17:10:29 +0800 Message-ID: <509CC885.9030400@huawei.com> References: <1351931915-1701-1-git-send-email-tj@kernel.org> <1351931915-1701-3-git-send-email-tj@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1351931915-1701-3-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tejun Heo Cc: rjw-KKrjLPT3xs0@public.gmane.org, linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, fweisbec-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, mhocko-AlSwsSmVLrQ@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 2012/11/3 16:38, Tejun Heo wrote: > Use RCU safe list operations for cgroup->children. This will be used > to implement cgroup children / descendant walking which can be used by > controllers. > > Note that cgroup_create() now puts a new cgroup at the end of the > ->children list instead of head. This isn't strictly necessary but is > done so that the iteration order is more conventional. > > Signed-off-by: Tejun Heo Acked-by: Li Zefan