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

2012-11-09 Thread Li Zefan
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 he

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

2012-11-07 Thread Kamezawa Hiroyuki
(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

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

2012-11-07 Thread Michal Hocko
On Sat 03-11-12 01:38:28, 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

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

2012-11-03 Thread Tejun Heo
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