[Devel] Re: [PATCHSET] fix CGROUP VS RCU

Lai Jiangshan laijs at cn.fujitsu.com
Fri Nov 21 01:10:21 PST 2008


Andrew Morton wrote:
> On Fri, 21 Nov 2008 16:49:13 +0800 Lai Jiangshan <laijs at cn.fujitsu.com> wrote:
> 
>> current some cgroup struct are protected by RCU.
>>
>> struct protected by RCU:
>> 	struct css_set, struct cgroup_subsys_state, struct cgroup
>>
>> pointer protected by RCU:
>> 	struct task_struct.cgroups, struct css_set.subsys[*],
>> 	struct cgroup_subsys_state.cgroup
>> the last two pointers are readonly pointer!
>>
>> these patches are fix these structs, and pointers. And a faker:
>> struct cgroup_subsys.root
>>
>> Not cleanup all yet.
>>
> 
> These patches aren't sequence numbered.  In what order should they be
> applied?
> 
> 
> 
> 

No order number, they are dependent(except 2 patches which have order number).

Lai.


_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list