]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cgroup: remove cgroup_root_mutex
authorTejun Heo <tj@kernel.org>
Sat, 8 Feb 2014 15:37:01 +0000 (10:37 -0500)
committerTejun Heo <tj@kernel.org>
Sat, 8 Feb 2014 15:37:01 +0000 (10:37 -0500)
commit3417ae1f5f59bbf36c3defbbf2a76c5ca498db2a
treed5b03fc5ec2b71b4fde60ca6337ad45e1fd0ab45
parent69e943b7d3c2dcca1087e03e556ac6cb0d4433b4
cgroup: remove cgroup_root_mutex

cgroup_root_mutex was added to avoid deadlock involving namespace_sem
via cgroup_show_options().  It added a lot of overhead for the small
purpose of it and, because it's nested under cgroup_mutex, it has very
limited usefulness.  The previous patch made cgroup_show_options() not
use cgroup_root_mutex, so nobody needs it anymore.  Remove it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
kernel/cgroup.c