get_mempolicy on ia64
retrieve NUMA memory policy for a thread
sys_get_mempolicy(int *policy, unsigned long *nmask, unsigned long maxnode, unsigned long addr, unsigned long flags)
| number | 1260 (0x4ec) |
|---|---|
| abi | common |
| entry point | sys_get_mempolicy |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | get_mempolicy(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1260, the syscall number |
out0 | int *policy |
out1 | unsigned long *nmask |
out2 | unsigned long maxnode |
out3 | unsigned long addr |
out4 | unsigned long flags |
r8 | the return value |
Then run break 0x100000 to enter the kernel.
The kernel uses r10 to signal an error.
The pipe call returns file descriptors in r8 and r9.
This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 239
- x86 275
- arm64 236
- arm 320
- riscv64 236
- ia32 275
- x32 1073742063
- loongarch64 236
- ppc64 260
- ppc 260
- s390x 269
- mips64 5228
- mipsn32 6232
- mipso32 4269
- arc 236
- csky 236
- frv 275, removed in 4.17
- hexagon 236
- m68k 269
- metag 236, removed in 4.17
- microblaze 275
- mn10300 275, removed in 4.17
- nds32 236, removed in 5.18
- nios2 236
- openrisc 236
- parisc 261
- score 236, removed in 4.17
- sh 275
- sparc 304
- sparc64 304
- tilegx 236, removed in 4.17
- tilepro 236, removed in 4.17
- xtensa 264
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia64/get_mempolicy?kernel=all