diff options
author | Tejun Heo <tj@kernel.org> | 2015-10-15 23:41:53 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-10-15 23:41:53 +0300 |
commit | afcf6c8b75444382e0f9996157207ebae34a8848 (patch) | |
tree | 6b8b8ccc4a99cfc7e156765c58ab285034980995 /crypto/proc.c | |
parent | 2e91fa7f6d451e3ea9fec999065d2fd199691f9d (diff) | |
download | linux-afcf6c8b75444382e0f9996157207ebae34a8848.tar.xz |
cgroup: add cgroup_subsys->free() method and use it to fix pids controller
pids controller is completely broken in that it uncharges when a task
exits allowing zombies to escape resource control. With the recent
updates, cgroup core now maintains cgroup association till task free
and pids controller can be fixed by uncharging on free instead of
exit.
This patch adds cgroup_subsys->free() method and update pids
controller to use it instead of ->exit() for uncharging.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Aleksa Sarai <cyphar@cyphar.com>
Diffstat (limited to 'crypto/proc.c')
0 files changed, 0 insertions, 0 deletions