Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:iterate_groups

Proto:static struct psi_group *iterate_groups(struct task_struct *task, void **iter)

Type:struct psi_group

Parameter:

TypeParameterName
struct task_struct *task
void **iter
726  struct cgroup * cgroup = NULL
728  If Not iter Then cgroup = dfl_cgrp
730  Else if iter == psi_system Then Return NULL
732  Else cgroup = cgroup_parent( * iter)
735  If cgroup && cgroup_parent(cgroup) Then
736  iter = cgroup
737  Return cgroup_psi(cgroup)
743  iter = psi_system
744  Return psi_system
Caller
NameDescribe
psi_task_change
psi_memstall_tick