syscall.sh / s390x / sched_setscheduler

sched_setscheduler

set and get scheduling policy/parameters

sys_sched_setscheduler(pid_t pid, int policy, struct sched_param *param)
number156 (0x9c)
abicommon
entry pointsys_sched_setscheduler
sinceLinux 4.16
man pagesched_setscheduler(2)
sourceelixir.bootlin.com

Registers

registervalue
r1156, the syscall number
r2pid_t pid
r3int policy
r4struct sched_param *param
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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