Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Revised wakeup rule [1]: For self-suspending tasks, rather then* re-initializing task's runtime and deadline, the revised wakeup* rule adjusts the task's runtime to avoid the task to overrun its* density

Proto:static void update_dl_revised_wakeup(struct sched_dl_entity *dl_se, struct rq *rq)

Type:void

Parameter:

TypeParameterName
struct sched_dl_entity *dl_se
struct rq *rq
825  laxity = Absolute deadline for this instance - rq_clock(rq)
833  WARN_ON(dl_time_before( Absolute deadline for this instance , rq_clock(rq)))
835  Remaining runtime for this instance = dl_runtime / dl_deadline * laxity >> BW_SHIFT
Caller
NameDescribe
update_dl_entityWhen a deadline entity is placed in the runqueue, its runtime and deadline* might need to be updated. This is done by a CBS wake up rule. There are two* different rules: 1) the original CBS; and 2) the Revisited CBS.