Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-28 11:07:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:@task is leaving, advance task iterators which are pointing to it so* that they can resume at the next position. Advancing an iterator might* remove it from the list, use safe walk. See css_task_iter_skip() for* details.

Proto:static void css_set_skip_task_iters(struct css_set *cset, struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct css_set *cset
struct task_struct *task
859  list_for_each_entry_safe - iterate over list of given type safe against removal of list entry*@pos: the type * to use as a loop cursor.*@n: another type * to use as temporary storage*@head: the head for your list.(it, pos, & all css_task_iters currently walking this cset , iters_node)
860  css_task_iter_skip(it, task)
Caller
NameDescribe
css_set_move_taskss_set_move_task - move a task from one css_set to another*@task: task being moved*@from_cset: css_set @task currently belongs to (may be NULL)*@to_cset: new css_set @task is being moved to (may be NULL)*@use_mg_tasks: move to @to_cset->mg_tasks instead
cgroup_release