Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:put_prev_entity

Proto:static void put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev)

Type:void

Parameter:

TypeParameterName
struct cfs_rq *cfs_rq
struct sched_entity *prev
4271  If on_rq Then Update the current task's runtime statistics.
4275  check_cfs_rq_runtime(cfs_rq)
4277  check_spread(cfs_rq, prev)
4279  If on_rq Then
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
Caller
NameDescribe
put_prev_task_fairAccount for a descheduled task: