函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dequeue_task_dl

函数原型:static void dequeue_task_dl(struct rq *rq, struct task_struct *p, int flags)

返回类型:void

参数:

类型参数名称
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  如果归属队列恒等于TASK_ON_RQ_MIGRATINGflags按位与Matches ENQUEUE_RESTORE
1550  sub_running_bw( & dl, & dl)
1551  sub_rq_bw( & dl, & dl)
1563  如果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 pairsThe utilization of a task cannot be immediately removed from* the rq active utilization (running_bw) when the task blocks