aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2019-05-31 17:38:57 +0000
committerTejun Heo <[email protected]>2019-05-31 17:38:57 +0000
commit6b115bf58e6f013ca75e7115aabcbd56c20ff31d (patch)
tree965ef5bcab73bbeacdfe1fbed8408300d2ecbcea /security/selinux/netnode.c
parentdocs cgroups: add another example size for hugetlb (diff)
downloadkernel-6b115bf58e6f013ca75e7115aabcbd56c20ff31d.tar.gz
kernel-6b115bf58e6f013ca75e7115aabcbd56c20ff31d.zip
cgroup: Call cgroup_release() before __exit_signal()
cgroup_release() calls cgroup_subsys->release() which is used by the pids controller to uncharge its pid. We want to use it to manage iteration of dying tasks which requires putting it before __unhash_process(). Move cgroup_release() above __exit_signal(). While this makes it uncharge before the pid is freed, pid is RCU freed anyway and the window is very narrow. Signed-off-by: Tejun Heo <[email protected]> Cc: Oleg Nesterov <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions