函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dl_rq_of_se

函数原型:static inline struct dl_rq *dl_rq_of_se(struct sched_dl_entity *dl_se)

返回类型:struct dl_rq

参数:

类型参数名称
struct sched_dl_entity *dl_se
35  p等于dl_task_of(dl_se)
36  rq等于task_rq(p)
38  返回:dl
调用者
名称描述
task_non_contendingThe utilization of a task cannot be immediately removed from* the rq active utilization (running_bw) when the task blocks
task_contending
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
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
inactive_task_timer
__enqueue_dl_entity
__dequeue_dl_entity
enqueue_dl_entity