函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:static void update_dl_revised_wakeup(struct sched_dl_entity *dl_se, struct rq *rq)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
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.