Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\deadline.c Create Date:2022-07-28 09:40:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:During the activation, CBS checks if it can reuse the current task's* runtime and period

Proto:static inline void dl_check_constrained_dl(struct sched_dl_entity *dl_se)

Type:void

Parameter:

TypeParameterName
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  If dl_time_before( Absolute deadline for this instance , rq_clock(rq)) && dl_time_before(rq_clock(rq), dl_next_period(dl_se)) Then
1118  If Value for the false possibility is greater at compile time(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) Then Return
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  If Remaining runtime for this instance > 0 Then Remaining runtime for this instance = 0
Caller
NameDescribe
enqueue_task_dl