syscall.sh / x32 / sched_setscheduler

sched_setscheduler

set and get scheduling policy/parameters

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

Registers

registervalue
rax1073741968, the syscall number
rdipid_t pid
rsiint policy
rdxstruct sched_param *param
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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