Messages in this thread Patch in this message | | | Date | Mon, 14 Jan 2013 17:24:18 +0800 | From | Li Zefan <> | Subject | [PATCH 2/2] 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> --- kernel/cgroup.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 67b0fa0..f43c929 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; } -- 1.8.0.2
| |