summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-01-14 09:24:18 (GMT)
committerTejun Heo <tj@kernel.org>2013-01-14 18:49:39 (GMT)
commit130e3695a3edf6bf21464f2826720a79a6afdee0 (patch)
treef2a38543101c92653b399520683f91e317617593 /kernel
parent5d65bc0ca1bceb73204dab943922ba3c83276a8c (diff)
downloadlinux-fsl-qoriq-130e3695a3edf6bf21464f2826720a79a6afdee0.tar.xz
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 ce27351..a893985 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;
}