sched_setscheduler on tilepro
set and get scheduling policy/parameters
sys_sched_setscheduler(pid_t pid, int policy, struct sched_param *param)
| number | 119 (0x77) |
|---|---|
| abi | common |
| entry point | sys_sched_setscheduler |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | sched_setscheduler(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 119, the syscall number |
r0 | pid_t pid |
r1 | int policy |
r2 | struct sched_param *param |
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 144
- x86 156
- arm64 119
- arm 156
- riscv64 119
- ia32 156
- x32 1073741968
- loongarch64 119
- ppc64 156
- ppc 156
- s390x 156
- mips64 5141
- mipsn32 6141
- mipso32 4160
- alpha 332
- arc 119
- blackfin 156, removed in 4.17
- cris 156, removed in 4.17
- csky 119
- frv 156, removed in 4.17
- hexagon 119
- ia64 1163, removed in 6.7
- m32r 156, removed in 4.17
- m68k 156
- metag 119, removed in 4.17
- microblaze 156
- mn10300 156, removed in 4.17
- nds32 119, removed in 5.18
- nios2 119
- openrisc 119
- parisc 156
- score 119, removed in 4.17
- sh 156
- sparc 243
- sparc64 243
- tilegx 119, removed in 4.17
- xtensa 214
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/sched_setscheduler?kernel=all