syscall.sh / mipso32 / sched_setscheduler

sched_setscheduler

set and get scheduling policy/parameters

sys_sched_setscheduler(pid_t pid, int policy, struct sched_param *param)
number4160 (0x1040)
abio32
entry pointsys_sched_setscheduler
sinceLinux 5.0
man pagesched_setscheduler(2)
sourceelixir.bootlin.com

Registers

registervalue
v04160, the syscall number
a0pid_t pid
a1int policy
a2struct sched_param *param
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/sched_setscheduler