函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\rt.h Create Date:2022-07-27 06:42:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rt_prio

函数原型:static inline int rt_prio(int prio)

返回类型:int

参数:

类型参数名称
intprio
11  如果此条件成立可能性小(为编译器优化)(prio < MAX_RT_PRIO)则返回:1
13  返回:0
调用者
名称描述
effective_prioCalculate the current priority, i.e. the priority* taken into account by the scheduler. This value might* be boosted by RT tasks, or might be boosted by* interactivity modifiers. Will be RT if the task got* RT-boosted
sched_fork调度进程
__setschedulerActually do priority change: must hold pi & rq lock.
inc_rt_tasks
dec_rt_tasks
rt_task