syscall.sh / loongarch64 / sched_setparam
sched_setparam
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 5.19 |
| man page | sched_setparam(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 118, the syscall number |
a0 | pid_t pid |
a1 | struct sched_param *param |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 142
- x86 154
- arm64 118
- arm 154
- riscv64 118
- x32 1073741966
- ppc64 154
- ppc 154
- s390x 154
- mips64 5139
- mipsn32 6139
- mipso32 4158
- alpha 330
- arc 118
- csky 118
- hexagon 118
- m68k 154
- microblaze 154
- nios2 118
- openrisc 118
- parisc 154
- sh 154
- sparc 241
- sparc64 241
- xtensa 212
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/sched_setparam