You need to sign in or sign up before continuing.
  • Tejun Heo's avatar
    cgroup: implement for_each_css() · 1c6727af
    Tejun Heo authored
    
    
    There are enough places where css's of a cgroup are iterated, which
    currently uses for_each_root_subsys() + explicit cgroup_css().  This
    patch implements for_each_css() and replaces the above combination
    with it.
    
    This patch doesn't introduce any behavior changes.
    
    v2: Updated to apply cleanly on top of v2 of "cgroup: fix css leaks on
        online_css() failure"
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarLi Zefan <lizefan@huawei.com>
    1c6727af
cgroup.c 147 KB