Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dequeue_task_dl

Proto:static void dequeue_task_dl(struct rq *rq, struct task_struct *p, int flags)

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct task_struct *p
intflags
1546  Update the current task's runtime statistics (provided it is still* a -deadline task and has not been removed from the dl_rq).
1547  __dequeue_task_dl(rq, p, flags)
1549  If on_rq == TASK_ON_RQ_MIGRATING || flags & Matches ENQUEUE_RESTORE Then
1550  sub_running_bw( & dl, & dl)
1551  sub_rq_bw( & dl, & dl)
1563  If flags & {de,en}queue flags:* DEQUEUE_SLEEP - task is no longer runnable* ENQUEUE_WAKEUP - task just became runnable* SAVE/RESTORE - an otherwise spurious dequeue/enqueue, done to ensure tasks* are in a known state which allows modification. Such pairs Then The utilization of a task cannot be immediately removed from* the rq active utilization (running_bw) when the task blocks