函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:During the activation, CBS checks if it can reuse the current task's* runtime and period

函数原型:static inline void dl_check_constrained_dl(struct sched_dl_entity *dl_se)

返回类型:void

参数:

类型参数名称
struct sched_dl_entity *dl_se
1113  p等于dl_task_of(dl_se)
1114  rq等于rq_of_dl_rq(dl_rq_of_se(dl_se))
1116  如果dl_time_before( Absolute deadline for this instance , rq_clock(rq))且dl_time_before(rq_clock(rq), dl_next_period(dl_se))则
1118  如果此条件成立可能性小(为编译器优化)(dl_boosted || !If the entity depleted all its runtime, and if we want it to sleep* while waiting for some new execution time to become available, we* set the bandwidth replenishment timer to the replenishment instant* and try to activate it)则返回
1120  * 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等于1
1121  如果 Remaining runtime for this instance 大于0则 Remaining runtime for this instance 等于0
调用者
名称描述
enqueue_task_dl