Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Adding/removing a task to/from a priority array:

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

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct task_struct *p
intflags
1331  rt_se = rt
1333  If flags & ENQUEUE_WAKEUP Then timeout = 0
1336  enqueue_rt_entity(rt_se, flags)
1338  If Not task_current(rq, p) && nr_cpus_allowed > 1 Then enqueue_pushable_task(rq, p)