Home
last modified time | relevance | path

Searched refs:cg_list (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/kernel/cgroup/
Ddebug.c164 list_for_each_entry(task, &cset->tasks, cg_list) { in cgroup_css_links_read()
170 list_for_each_entry(task, &cset->mg_tasks, cg_list) { in cgroup_css_links_read()
Dcgroup.c888 WARN_ON_ONCE(list_empty(&task->cg_list)); in css_set_move_task()
891 list_del_init(&task->cg_list); in css_set_move_task()
895 WARN_ON_ONCE(!list_empty(&task->cg_list)); in css_set_move_task()
908 list_add_tail(&task->cg_list, use_mg_tasks ? &to_cset->mg_tasks : in css_set_move_task()
1914 WARN_ON_ONCE(!list_empty(&p->cg_list) || in cgroup_enable_task_cg_lists()
1934 list_add_tail(&p->cg_list, &cset->tasks); in cgroup_enable_task_cg_lists()
2376 if (list_empty(&task->cg_list)) in cgroup_migrate_add_task()
2385 list_move_tail(&task->cg_list, &cset->mg_tasks); in cgroup_migrate_add_task()
2427 struct task_struct, cg_list); in cgroup_taskset_next()
2429 task = list_next_entry(task, cg_list); in cgroup_taskset_next()
[all …]
/Linux-v5.4/include/linux/
Dsched.h1044 struct list_head cg_list; member
/Linux-v5.4/Documentation/admin-guide/cgroup-v1/
Dcgroups.rst187 cgroups) are less common. A linked list runs through the cg_list