aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-01-24 14:31:42 +0800
committerTejun Heo <tj@kernel.org>2013-01-24 12:05:18 -0800
commitbe44562613851235d801d41d5b3976dc4333f622 (patch)
treeed68df6a444cd106b04f96645c03a6f97fcc2e0c /include/linux/cgroup.h
parentcgroup: remove duplicate RCU free on struct cgroup (diff)
downloadlinux-dev-be44562613851235d801d41d5b3976dc4333f622.tar.xz
linux-dev-be44562613851235d801d41d5b3976dc4333f622.zip
cgroup: remove synchronize_rcu() from cgroup_diput()
Free cgroup via call_rcu(). The actual work is done through workqueue. Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r--include/linux/cgroup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 8118a3120378..900af5964f55 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -203,6 +203,7 @@ struct cgroup {
/* For RCU-protected deletion */
struct rcu_head rcu_head;
+ struct work_struct free_work;
/* List of events which userspace want to receive */
struct list_head event_list;