函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\deadline.h Create Date:2022-07-27 06:42:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dl_time_before

函数原型:static inline bool dl_time_before(u64 a, u64 b)

返回类型:bool

参数:

类型参数名称
u64a
u64b
25  返回:ab小于0
调用者
名称描述
setup_new_dl_entityWe are being explicitly informed that a new instance is starting,* and this means that:* - the absolute deadline of the entity has to be placed at* current time + relative deadline;* - the runtime of the entity has to be set to the maximum value
replenish_dl_entityPure Earliest Deadline First (EDF) scheduling does not deal with the* possibility of a entity lasting more than what it declared, and thus* exhausting its runtime
dl_entity_overflowHere 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)
update_dl_revised_wakeupRevised 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
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.
dl_check_constrained_dlDuring the activation, CBS checks if it can reuse the current task's* runtime and period
__enqueue_dl_entity
enqueue_dl_entity
cpudl_heapify_down
cpudl_heapify_up
cpudl_heapify
cpudl_findpudl_find - find the best (later-dl) CPU in the system*@cp: the cpudl max-heap context*@p: the task*@later_mask: a mask to fill in with the selected CPUs (or NULL)* Returns: int - CPUs were found
rt_mutex_waiter_less
dl_entity_preemptTells if entity @a should preempt entity @b.