Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:css_task_iter_skip

Proto:static void css_task_iter_skip(struct css_task_iter *it, struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct css_task_iter *it
struct task_struct *task
4446  lockdep_assert_held( & css_set_lock)
4448  If task_pos == cg_list protected by css_set_lock and tsk->alloc_lock: Then
4449  task_pos = next
4450  flags |= rnal flags
Caller
NameDescribe
css_set_skip_task_iters@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.