Files
i2som-imx-linux/include/linux
Tejun Heo 0ae78e0bf1 cgroup: add cgroup_subsys_state->parent
With the planned unified hierarchy, css's (cgroup_subsys_state) will
be RCU protected and allowed to be attached and detached dynamically
over the course of a cgroup's lifetime.  This means that css's will
stay accessible after being detached from its cgroup - the matching
pointer in cgroup->subsys[] cleared - for ref draining and RCU grace
period.

cgroup core still wants to guarantee that the parent css is never
destroyed before its children and css_parent() always returns the
parent regardless of the state of the child css as long as it's
accessible.

This patch makes css's hold onto their parents and adds css->parent so
that the parent css is never detroyed before its children and can be
determined without consulting the cgroups.

cgroup->dummy_css is also updated to point to the parent dummy_css;
however, it doesn't need to worry about object lifetime as the parent
cgroup is already pinned by the child.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
2013-08-13 11:01:54 -04:00
..
2013-06-27 13:42:16 -04:00
2013-07-03 16:07:39 -07:00
2013-07-05 18:59:33 +04:00
2013-07-10 23:41:18 +01:00
2013-07-03 16:07:32 -07:00
2013-07-09 10:33:30 -07:00
2013-07-10 18:11:34 -07:00
2013-07-02 15:38:19 +09:30
2013-07-03 16:08:05 -07:00
2013-06-26 15:55:52 -06:00
2013-06-26 21:10:05 +02:00
2013-07-03 16:08:05 -07:00
2013-07-10 18:11:34 -07:00
2013-07-05 11:41:00 +05:30
2013-07-10 18:11:34 -07:00