[Devel] [PATCHSET] fix CGROUP VS RCU

Lai Jiangshan laijs at cn.fujitsu.com
Fri Nov 21 00:49:13 PST 2008


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.

Thanx, 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