summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-01-14 10:24:18 +0100
committerTejun Heo <tj@kernel.org>2013-01-14 19:49:39 +0100
commit130e3695a3edf6bf21464f2826720a79a6afdee0 (patch)
treef2a38543101c92653b399520683f91e317617593 /kernel
parentcgroup: remove synchronize_rcu() from cgroup_attach_{task|proc}() (diff)
downloadlinux-130e3695a3edf6bf21464f2826720a79a6afdee0.tar.xz
linux-130e3695a3edf6bf21464f2826720a79a6afdee0.zip
cgroup: remove synchronize_rcu() from rebind_subsystems()
Nothing's protected by RCU in rebind_subsystems(), and I can't think of a reason why it is needed. Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/cgroup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index ce27351e9249..a893985601e9 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1079,7 +1079,6 @@ static int rebind_subsystems(struct cgroupfs_root *root,
}
}
root->subsys_mask = root->actual_subsys_mask = final_subsys_mask;
- synchronize_rcu();
return 0;
}