Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Account for a task changing its policy or group.* This routine is mostly called to set cfs_rq->curr field when a task* migrates between groups/classes.

Proto:static void set_next_task_fair(struct rq *rq, struct task_struct *p, bool first)

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct task_struct *p
boolfirst
10491  se = se
10504  cfs_rq = cfs_rq_of(se)
10506  set_next_entity(cfs_rq, se)
10508  account_cfs_rq_runtime(cfs_rq, 0)