函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static void update_dl_entity(struct sched_dl_entity *dl_se, struct sched_dl_entity *pi_se)

返回类型:void

参数:

类型参数名称
struct sched_dl_entity *dl_se
struct sched_dl_entity *pi_se
887  dl_rq等于dl_rq_of_se(dl_se)
888  rq等于rq_of_dl_rq(dl_rq)
890  如果dl_time_before( Absolute deadline for this instance , rq_clock(rq))或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)
897  返回
900  Absolute deadline for this instance 等于rq_clock(rq)加 Relative deadline of each instance
901  Remaining runtime for this instance 等于 Maximum runtime for each instance
调用者
名称描述
enqueue_dl_entity