Skip to content

Commit

Permalink
cgroup: remove synchronize_rcu() from rebind_subsystems()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Li Zefan authored and Tejun Heo committed Jan 14, 2013
1 parent 5d65bc0 commit 130e369
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 130e369

Please sign in to comment.