sched_setparam on score
set and get scheduling parameters
sys_sched_setparam(pid_t pid, struct sched_param *param)
| number | 118 (0x76) |
|---|---|
| abi | common |
| entry point | sys_sched_setparam |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | sched_setparam(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 118, the syscall number |
r4 | pid_t pid |
r5 | struct sched_param *param |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 142
- x86 154
- arm64 118
- arm 154
- riscv64 118
- ia32 154
- x32 1073741966
- loongarch64 118
- ppc64 154
- ppc 154
- s390x 154
- mips64 5139
- mipsn32 6139
- mipso32 4158
- alpha 330
- arc 118
- blackfin 154, removed in 4.17
- cris 154, removed in 4.17
- csky 118
- frv 154, removed in 4.17
- hexagon 118
- ia64 1161, removed in 6.7
- m32r 154, removed in 4.17
- m68k 154
- metag 118, removed in 4.17
- microblaze 154
- mn10300 154, removed in 4.17
- nds32 118, removed in 5.18
- nios2 118
- openrisc 118
- parisc 154
- sh 154
- sparc 241
- sparc64 241
- tilegx 118, removed in 4.17
- tilepro 118, removed in 4.17
- xtensa 212
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/sched_setparam?kernel=all