sched_yield on score
yield the processor
sys_sched_yield(void)
| number | 124 (0x7c) |
|---|---|
| abi | common |
| entry point | sys_sched_yield |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | sched_yield(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 124, the syscall number |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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 24
- x86 158
- arm64 124
- arm 158
- riscv64 124
- ia32 158
- x32 1073741848
- loongarch64 124
- ppc64 158
- ppc 158
- s390x 158
- mips64 5023
- mipsn32 6023
- mipso32 4162
- alpha 334
- arc 124
- blackfin 158, removed in 4.17
- cris 158, removed in 4.17
- csky 124
- frv 158, removed in 4.17
- hexagon 124
- ia64 1164, removed in 6.7
- m32r 158, removed in 4.17
- m68k 158
- metag 124, removed in 4.17
- microblaze 158
- mn10300 158, removed in 4.17
- nds32 124, removed in 5.18
- nios2 124
- openrisc 124
- parisc 158
- sh 158
- sparc 245
- sparc64 245
- tilegx 124, removed in 4.17
- tilepro 124, removed in 4.17
- xtensa 219
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/sched_yield?kernel=all