cgroup: remove synchronize_rcu() from rebind_subsystems()
authorLi Zefan <lizefan@huawei.com>
Mon, 14 Jan 2013 09:24:18 +0000 (17:24 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 14 Jan 2013 18:49:39 +0000 (10:49 -0800)
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>
kernel/cgroup.c

index ce27351e9249dcecac2eaf0d8fb9ff56f8852ea9..a893985601e974c075ce4474077b79ff9ab9d238 100644 (file)
@@ -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;
 }