函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\fair.c Create Date:2022-07-27 10:39:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static void set_next_task_fair(struct rq *rq, struct task_struct *p, bool first)

返回类型:void

参数:

类型参数名称
struct rq *rq
struct task_struct *p
boolfirst
10491  se等于调度实体
10504  cfs_rq等于cfs_rq_of(se)
10506  set_next_entity(cfs_rq, se)
10508  account_cfs_rq_runtime(cfs_rq, 0)