Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:update_min_vruntime

Proto:static void update_min_vruntime(struct cfs_rq *cfs_rq)

Type:void

Parameter:

TypeParameterName
struct cfs_rq *cfs_rq
531  curr = 'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running).
532  leftmost = Same as rb_first(), but O(1) ( & tasks_timeline)
534  vruntime = min_vruntime
536  If curr Then
537  If on_rq Then vruntime = vruntime
539  Else curr = NULL
543  If leftmost Then
545  se = rb_entry(leftmost, structsched_entity, run_node)
547  If Not curr Then vruntime = vruntime
549  Else vruntime = min_vruntime(vruntime, vruntime)
554  min_vruntime = Scheduling class tree data structure manipulation methods:
556  smp_wmb()
557  min_vruntime_copy = min_vruntime
Caller
NameDescribe
update_currUpdate the current task's runtime statistics.
dequeue_entity