From: Li Zefan Date: Mon, 14 Jan 2013 09:24:18 +0000 (+0800) Subject: cgroup: remove synchronize_rcu() from rebind_subsystems() X-Git-Tag: MMI-PSA29.97-13-9~15031^2~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=130e3695a3edf6bf21464f2826720a79a6afdee0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Tejun Heo --- 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; }