summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cgroup-defs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h
index 3754d697854b..cbfe8937647c 100644
--- a/include/linux/cgroup-defs.h
+++ b/include/linux/cgroup-defs.h
@@ -556,6 +556,14 @@ struct cgroup {
struct cgroup_subsys_state __rcu *subsys[CGROUP_SUBSYS_COUNT];
/*
+ * Effective css for each subsystem: the css of the nearest ancestor,
+ * including this cgroup, that has the subsystem enabled, or the root
+ * css if the subsystem isn't bound to this hierarchy. Updated under
+ * cgroup_mutex and read under RCU.
+ */
+ struct cgroup_subsys_state __rcu *e_css[CGROUP_SUBSYS_COUNT];
+
+ /*
* Keep track of total number of dying CSSes at and below this cgroup.
* Protected by cgroup_mutex.
*/