sys_sched_get_priority_min  [kernel/sched.c]


Returns the minimum priority value (rt_priority) that can be used by a given scheduling class.

Arguments

eax 160
ebx Policy. Supported policies are:
SCHED_FIFO First In-First Out scheduling.
SCHED_RR Round Robin scheduling.
SCHED_NORMAL Default Linux time-sharing scheduling.
SCHED_BATCH Scheduling batch processes.

See sys_sched_setscheduler for a more detailed information about available policies.

Return values

If the system call succeeds the return value is the minimum priority value for the named scheduling policy.
If the system call fails the return value is one of the following errno values:

-EINVAL The parameter ebx does not identify a defined scheduling policy.

Remarks

n/a

Compatibility

n/a