syscall.sh / loongarch64 / migrate_pages
migrate_pages
move all pages in a process to another set of nodes
sys_migrate_pages(pid_t pid, unsigned long maxnode, const unsigned long *from, const unsigned long *to)
| number | 238 (0xee) |
|---|---|
| abi | common |
| entry point | sys_migrate_pages |
| since | Linux 5.19 |
| man page | migrate_pages(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 238, the syscall number |
a0 | pid_t pid |
a1 | unsigned long maxnode |
a2 | const unsigned long *from |
a3 | const unsigned long *to |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 256
- x86 294
- arm64 238
- arm 400
- riscv64 238
- x32 1073742080
- ppc64 258
- ppc 258
- s390x 287
- mips64 5246
- mipsn32 6250
- mipso32 4287
- alpha 449
- arc 238
- csky 238
- hexagon 238
- m68k 287
- nios2 238
- openrisc 238
- parisc 272
- sh 294
- sparc 302
- sparc64 302
- xtensa 262
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/migrate_pages