[PATCH 2/9] cgroup: Use rculist ops for cgroup->children

Kamezawa Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Thu Nov 8 03:01:22 UTC 2012


(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 <tj at kernel.org>

Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>




More information about the Containers mailing list