[PATCHSET] fix CGROUP VS RCU

From: Lai Jiangshan
Date: Fri Nov 21 2008 - 03:53:42 EST



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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/