cgroup: bounce cgroup_subsys_state ref kill confirmation to a work item
authorTejun Heo <tj@kernel.org>
Wed, 14 Aug 2013 00:22:50 +0000 (20:22 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 14 Aug 2013 00:22:50 +0000 (20:22 -0400)
commit223dbc38d2a8745a93749dc75ed909e274ce075d
tree1b9fef44b8dca745dc37e5c98be8fe8e190b9691
parentae7f164a09408bf21ab3c82a9e80a3ff37aa9e3e
cgroup: bounce cgroup_subsys_state ref kill confirmation to a work item

css (cgroup_subsys_state) offlining, which requires process context,
will be moved to ref kill confirmation.  In preparation, bounce
css_killed handling through css->destroy_work.

css_ref_killed_fn() is renamed to css_killed_ref_fn() so that it's
consistent with the new css_killed_work_fn().

This patch adds an additional work item bouncing but doesn't change
the actual logic.

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