From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kamezawa Hiroyuki Subject: Re: [PATCH 2/9] cgroup: Use rculist ops for cgroup->children Date: Thu, 08 Nov 2012 12:01:22 +0900 Message-ID: <509B2082.1090402@jp.fujitsu.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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1351931915-1701-3-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Tejun Heo Cc: lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org, mhocko-AlSwsSmVLrQ@public.gmane.org, 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, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-pm@vger.kernel.org (2012/11/03 17: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 Reviewed-by: KAMEZAWA Hiroyuki