cgroups: change css_set freeing mechanism to be under RCU
[pandora-kernel.git] / include / linux / cgroup.h
index 88e8634..3ac78a2 100644 (file)
@@ -260,6 +260,9 @@ struct css_set {
         * during subsystem registration (at boot time).
         */
        struct cgroup_subsys_state *subsys[CGROUP_SUBSYS_COUNT];
+
+       /* For RCU-protected deletion */
+       struct rcu_head rcu_head;
 };
 
 /*