Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sys_sched_get_priority_min - return minimum RT priority.*@policy: scheduling class.* Return: On success, this syscall returns the minimum* rt_priority that can be used by a given scheduling class.* On failure, a negative error code is returned.

Proto:SYSCALL_DEFINE1(sched_get_priority_min, int, policy)

Type:

Parameter:Nothing

5846  ret = -EINVAL
5849  Case policy == SCHED_FIFO
5850  Case policy == SCHED_RR
5851  ret = 1
5852  Break
5853  Case policy == SCHED_DEADLINE
5854  Case policy == Scheduling policies
5855  Case policy == SCHED_BATCH
5856  Case policy == SCHED_ISO: reserved but not implemented yet
5857  ret = 0
5859  Return ret