• T
    cgroup: move cgroup->sibling and ->children into cgroup_subsys_state · d5c419b6
    Tejun Heo 提交于
    We're moving towards using cgroup_subsys_states as the fundamental
    structural blocks.  Let's move cgroup->sibling and ->children into
    cgroup_subsys_state.  This is pure move without functional change and
    only cgroup->self's fields are actually used.  Other csses will make
    use of the fields later.
    
    While at it, update init_and_link_css() so that it zeroes the whole
    css before initializing it and remove explicit zeroing of ->flags.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Acked-by: NLi Zefan <lizefan@huawei.com>
    d5c419b6
cgroup.h 27.7 KB