• Tejun Heo's avatar
    cgroup: remove cgroup_root_mutex · 3417ae1f
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarLi Zefan <lizefan@huawei.com>
    3417ae1f
cgroup.c 139 KB