From: Tejun Heo Date: Fri, 9 Nov 2012 17:12:29 +0000 (-0800) Subject: cgroup: use rculist ops for cgroup->children X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~57^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb6fd5040ee799009173daa49c3e7aa0362167c9;p=pandora-kernel.git cgroup: use rculist ops for cgroup->children 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: Michal Hocko Reviewed-by: KAMEZAWA Hiroyuki Acked-by: Li Zefan --- Reading git-diff-tree failed