sched_getparam on loongarch64
set and get scheduling parameters
sys_sched_getparam(pid_t pid, struct sched_param *param)
| number | 121 (0x79) |
|---|---|
| abi | common |
| entry point | sys_sched_getparam |
| since | Linux 5.19 or earlier (5.19 is the first release scanned for loongarch64) |
| man page | sched_getparam(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 121, 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 143
- x86 155
- arm64 121
- arm 155
- riscv64 121
- ia32 155
- x32 1073741967
- ppc64 155
- ppc 155
- s390x 155
- mips64 5140
- mipsn32 6140
- mipso32 4159
- alpha 331
- arc 121
- blackfin 155, removed in 4.17
- cris 155, removed in 4.17
- csky 121
- frv 155, removed in 4.17
- hexagon 121
- ia64 1160, removed in 6.7
- m32r 155, removed in 4.17
- m68k 155
- metag 121, removed in 4.17
- microblaze 155
- mn10300 155, removed in 4.17
- nds32 121, removed in 5.18
- nios2 121
- openrisc 121
- parisc 155
- score 121, removed in 4.17
- sh 155
- sparc 242
- sparc64 242
- tilegx 121, removed in 4.17
- tilepro 121, removed in 4.17
- xtensa 213
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/sched_getparam