Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:enqueue_task

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

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct task_struct *p
intflags
1293  If Not (flags & ENQUEUE_NOCLOCK) Then update_rq_clock(rq)
1296  If Not (flags & ENQUEUE_RESTORE) Then
1297  sched_info_queued(rq, p)
1298  psi_enqueue(p, flags & ENQUEUE_WAKEUP)
1301  uclamp_rq_inc(rq, p)
1302  enqueue_task(rq, p, flags)
Caller
NameDescribe
activate_task
set_user_nice
__sched_setscheduler