cgroup: add cgroup_subsys->css_released()
authorTejun Heo <tj@kernel.org>
Tue, 18 Nov 2014 07:49:51 +0000 (02:49 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 18 Nov 2014 07:49:51 +0000 (02:49 -0500)
commit7d172cc89b8589e4173d0c73a1ddaae408f29c9d
treeee1bb0594232895aaf2c5c6d604a2e4b8e2cbf4d
parentdb6e3053456800f0a7220b30355bece64764efe7
cgroup: add cgroup_subsys->css_released()

Add a new cgroup subsys callback css_released().  This is called when
the reference count of the css (cgroup_subsys_state) reaches zero
before RCU scheduling free.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Zefan Li <lizefan@huawei.com>
include/linux/cgroup.h
kernel/cgroup.c