Skip to content
  • Tejun Heo's avatar
    cgroup: keep css_set and task lists in chronological order · 389b9c1b
    Tejun Heo authored
    
    
    css task iteration will be updated to not leak cgroup internal locking
    to iterator users.  In preparation, update css_set and task lists to
    be in chronological order.
    
    For tasks, as migration path is already using list_splice_tail_init(),
    only cgroup_enable_task_cg_lists() and cgroup_post_fork() need
    updating.  For css_sets, link_css_set() is the only place which needs
    to be updated.
    
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    389b9c1b