函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:scheduler tick hitting a task of our scheduling class

函数原型:static void task_tick_fair(struct rq *rq, struct task_struct *curr, int queued)

返回类型:void

参数:

类型参数名称
struct rq *rq
struct task_struct *curr
intqueued
10279  se等于调度实体
10282  cfs_rq等于cfs_rq_of(se)
10283  更新当前进程运行时间,并判断是否需要调度此进程
10286  如果static_branch_unlikely( & sched_numa_balancing)则task_tick_numa(rq, curr)
10289  update_misfit_status(curr, rq)
10290  update_overutilized_status(task_rq(curr))