函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static void replenish_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
701  dl_rq等于dl_rq_of_se(dl_se)
702  rq等于rq_of_dl_rq(dl_rq)
704  BUG_ON( Maximum runtime for each instance <= 0)
710  如果 Relative deadline of each instance 恒等于0则
711  Absolute deadline for this instance 等于rq_clock(rq)加 Relative deadline of each instance
712  Remaining runtime for this instance 等于 Maximum runtime for each instance
715  如果dl_yielded Remaining runtime for this instance 大于0则 Remaining runtime for this instance 等于0
724  Remaining runtime for this instance 小于等于0循环
725  Absolute deadline for this instance 加等于 Separation of two instances (period)
726  Remaining runtime for this instance 加等于 Maximum runtime for each instance
738  如果dl_time_before( Absolute deadline for this instance , rq_clock(rq))则
739  printk_deferred_once("sched: DL replenish lagged too much\n")
740  Absolute deadline for this instance 等于rq_clock(rq)加 Relative deadline of each instance
741  Remaining runtime for this instance 等于 Maximum runtime for each instance
744  如果dl_yieldeddl_yielded等于0
746  如果* Some bool flags: *@dl_throttled tells if we exhausted the runtime. If so, the * task has to wait for a replenishment to be performed at the * next firing of dl_timer. *@dl_boosted tells if we are boosted due to DI. If so we are * outside bandwidth enforc* Some bool flags: *@dl_throttled tells if we exhausted the runtime. If so, the * task has to wait for a replenishment to be performed at the * next firing of dl_timer. *@dl_boosted tells if we are boosted due to DI. If so we are * outside bandwidth enforc等于0
调用者
名称描述
dl_task_timerThis is the bandwidth enforcement timer callback
enqueue_dl_entity