syscall.sh / x64 / sched_setscheduler

sched_setscheduler

set and get scheduling policy/parameters

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

Registers

registervalue
rax144, 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/x64/sched_setscheduler