Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 130e3695 authored by Li Zefan's avatar Li Zefan Committed by Tejun Heo
Browse files

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: default avatarLi Zefan <lizefan@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 5d65bc0c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}