Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-28 09:35:34
Last Modify:2022-05-22 13:40:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dequeue_task

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

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct task_struct *p
intflags
1307  If Not (flags & Matches ENQUEUE_NOCLOCK ) Then update_rq_clock(rq)
1310  If Not (flags & Matches ENQUEUE_RESTORE ) Then
1311  sched_info_dequeued(rq, p)
1312  psi_dequeue(p, 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)
1315  uclamp_rq_dec(rq, p)
1316  dequeue_task(rq, p, flags)
Caller
NameDescribe
deactivate_task
set_user_nice
__sched_setscheduler