From: Tejun Heo Date: Mon, 26 Aug 2013 22:40:56 +0000 (-0400) Subject: cgroup: make cgroup_event hold onto cgroup_subsys_state instead of cgroup X-Git-Tag: v3.12-rc1~173^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7941cb027dccedec3c047271554ddcf4be2e0697;p=pandora-kernel.git cgroup: make cgroup_event hold onto cgroup_subsys_state instead of cgroup Currently, each registered cgroup_event holds an extra reference to the cgroup. This is a bit weird as events are subsystem specific and will also be incorrect in the planned unified hierarchy as css (cgroup_subsys_state) may come and go dynamically across the lifetime of a cgroup. Holding onto cgroup won't prevent the target css from going away. Update cgroup_event to hold onto the css the traget file belongs to instead of cgroup. Signed-off-by: Tejun Heo Acked-by: Li Zefan Acked-by: Kirill A. Shutemov --- Reading git-diff-tree failed