summaryrefslogtreecommitdiffstats
path: root/kernel/futex_compat.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-08-26 18:40:56 -0400
committerTejun Heo <tj@kernel.org>2013-08-26 18:40:56 -0400
commit7941cb027dccedec3c047271554ddcf4be2e0697 (patch)
tree72bf50000b99403d9610ac9d32d21900e06c1bc6 /kernel/futex_compat.c
parent9fa4db334c7d9570aec7a5121e84fae99aae1d04 (diff)
downloadop-kernel-dev-7941cb027dccedec3c047271554ddcf4be2e0697.zip
op-kernel-dev-7941cb027dccedec3c047271554ddcf4be2e0697.tar.gz
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 <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Diffstat (limited to 'kernel/futex_compat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud