syscall.sh / nios2 / move_pages
move_pages
move individual pages of a process to another node
sys_move_pages(pid_t pid, unsigned long nr_pages, const void * *pages, const int *nodes, int *status, int flags)
| number | 239 (0xef) |
|---|---|
| abi | common |
| entry point | sys_move_pages |
| since | Linux 3.19 |
| man page | move_pages(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r2 | 239, the syscall number |
r4 | pid_t pid |
r5 | unsigned long nr_pages |
r6 | const void * *pages |
r7 | const int *nodes |
r8 | int *status |
r9 | int flags |
r2 | the return value |
Then run trap to enter the kernel.
Same syscall on other architectures
- x64 279
- x86 317
- arm64 239
- arm 344
- riscv64 239
- x32 1073742357
- loongarch64 239
- ppc64 301
- ppc 301
- s390x 310
- mips64 5267
- mipsn32 6271
- mipso32 4308
- alpha 472
- arc 239
- csky 239
- hexagon 239
- m68k 310
- microblaze 317
- openrisc 239
- parisc 295
- sh 317
- sparc 307
- sparc64 307
- xtensa 267
Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/move_pages