函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:put_prev_entity

函数原型:static void put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev)

返回类型:void

参数:

类型参数名称
struct cfs_rq *cfs_rq
struct sched_entity *prev
4271  如果on_rq更新当前进程运行时间,包括虚拟运行时间
4275  check_cfs_rq_runtime(cfs_rq)
4277  check_spread(cfs_rq, prev)
4279  如果on_rq
4280  update_stats_wait_start(cfs_rq, prev)
4282  Enqueue an entity into the rb-tree:
4284  update_load_avg(cfs_rq, prev, 0)
4286  'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running). = NULL
调用者
名称描述
put_prev_task_fairAccount for a descheduled task: