setpriority on tilepro
get/set program scheduling priority
sys_setpriority(int which, int who, int niceval)
| number | 140 (0x8c) |
|---|---|
| abi | common |
| entry point | sys_setpriority |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | setpriority(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 140, the syscall number |
r0 | int which |
r1 | int who |
r2 | int niceval |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 141
- x86 97
- arm64 140
- arm 97
- riscv64 140
- ia32 97
- x32 1073741965
- loongarch64 140
- ppc64 97
- ppc 97
- s390x 97
- mips64 5138
- mipsn32 6138
- mipso32 4097
- alpha 96
- arc 140
- blackfin 97, removed in 4.17
- cris 97, removed in 4.17
- csky 140
- frv 97, removed in 4.17
- hexagon 140
- ia64 1102, removed in 6.7
- m32r 97, removed in 4.17
- m68k 97
- metag 140, removed in 4.17
- microblaze 97
- mn10300 97, removed in 4.17
- nds32 140, removed in 5.18
- nios2 140
- openrisc 140
- parisc 97
- score 140, removed in 4.17
- sh 97
- sparc 96
- sparc64 96
- tilegx 140, removed in 4.17
- xtensa 133
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/setpriority?kernel=all