Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:task_contending

Proto:static void task_contending(struct sched_dl_entity *dl_se, int flags)

Type:void

Parameter:

TypeParameterName
struct sched_dl_entity *dl_se
intflags
295  dl_rq = dl_rq_of_se(dl_se)
301  If Maximum runtime for each instance == 0 Then Return
304  If flags & ENQUEUE_MIGRATED Then add_rq_bw(dl_se, dl_rq)
307  If dl_non_contending Then
308  dl_non_contending = 0
316  If hrtimer_try_to_cancel( & * Inactive timer, responsible for decreasing the active utilization * at the "0-lag time". When a -deadline task blocks, it contributes * to GRUB's active utilization until the "0-lag time", hence a * timer is needed to decrease the active utilization at t) == 1 Then put_task_struct(dl_task_of(dl_se))
318  Else
326  add_running_bw(dl_se, dl_rq)
Caller
NameDescribe
enqueue_dl_entity
enqueue_task_dl