函数逻辑报告

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

函数名称:Here we check if --at time t-- an entity (which is probably being* [re]activated or, in general, enqueued) can use its remaining runtime* and its current deadline _without_ exceeding the bandwidth it is* assigned (function returns true if it can't)

函数原型:static bool dl_entity_overflow(struct sched_dl_entity *dl_se, struct sched_dl_entity *pi_se, u64 t)

返回类型:bool

参数:

类型参数名称
struct sched_dl_entity *dl_se
struct sched_dl_entity *pi_se
u64t
797  left等于 Relative deadline of each instance 右移Single value that decides SCHED_DEADLINE internal math precision.* 10 -> just above 1us* 9 -> just above 0.5us位的值乘 Remaining runtime for this instance 右移Single value that decides SCHED_DEADLINE internal math precision.* 10 -> just above 1us* 9 -> just above 0.5us位的值
798  right等于 Absolute deadline for this instance t右移Single value that decides SCHED_DEADLINE internal math precision.* 10 -> just above 1us* 9 -> just above 0.5us位的值乘 Maximum runtime for each instance 右移Single value that decides SCHED_DEADLINE internal math precision.* 10 -> just above 1us* 9 -> just above 0.5us位的值
801  返回:dl_time_before(right, left)
调用者
名称描述
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.