• T
    cgroup: implement cgroup_get_e_css() · eeecbd19
    Tejun Heo 提交于
    Implement cgroup_get_e_css() which finds and gets the effective css
    for the specified cgroup and subsystem combination.  This function
    always returns a valid pinned css.  This will be used by cgroup
    writeback support.
    
    While at it, add comment to cgroup_e_css() to explain why that
    function is different from cgroup_get_e_css() and has to test
    cgrp->child_subsys_mask instead of cgroup_css(cgrp, ss).
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Acked-by: NZefan Li <lizefan@huawei.com>
    eeecbd19
cgroup.h 29.2 KB