函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Adding/removing a task to/from a priority array:

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

返回类型:void

参数:

类型参数名称
struct rq *rq
struct task_struct *p
intflags
1331  rt_se等于实时任务调度实体
1333  如果flags按位与ENQUEUE_WAKEUPtimeout等于0
1336  enqueue_rt_entity(rt_se, flags)
1338  如果非task_current(rq, p)且nr_cpus_allowed大于1则enqueue_pushable_task(rq, p)