sched_getscheduler on tilepro
set and get scheduling policy/parameters
sys_sched_getscheduler(pid_t pid)
| number | 120 (0x78) |
|---|---|
| abi | common |
| entry point | sys_sched_getscheduler |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | sched_getscheduler(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 120, the syscall number |
r0 | pid_t pid |
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 145
- x86 157
- arm64 120
- arm 157
- riscv64 120
- ia32 157
- x32 1073741969
- loongarch64 120
- ppc64 157
- ppc 157
- s390x 157
- mips64 5142
- mipsn32 6142
- mipso32 4161
- alpha 333
- arc 120
- blackfin 157, removed in 4.17
- cris 157, removed in 4.17
- csky 120
- frv 157, removed in 4.17
- hexagon 120
- ia64 1162, removed in 6.7
- m32r 157, removed in 4.17
- m68k 157
- metag 120, removed in 4.17
- microblaze 157
- mn10300 157, removed in 4.17
- nds32 120, removed in 5.18
- nios2 120
- openrisc 120
- parisc 157
- score 120, removed in 4.17
- sh 157
- sparc 244
- sparc64 244
- tilegx 120, removed in 4.17
- xtensa 215
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/sched_getscheduler?kernel=all