Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\rt.h Create Date:2022-07-28 05:41:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rt_prio

Proto:static inline int rt_prio(int prio)

Type:int

Parameter:

TypeParameterName
intprio
11  If Value for the false possibility is greater at compile time(prio < MAX_RT_PRIO) Then Return 1
13  Return 0
Caller
NameDescribe
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_forkrk()/clone()-time setup:
__setschedulerActually do priority change: must hold pi & rq lock.
inc_rt_tasks
dec_rt_tasks