syscall.sh / x64 / 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)
number256 (0x100)
abicommon
entry pointsys_migrate_pages
sinceLinux 3.3
man pagemigrate_pages(2)
sourceelixir.bootlin.com

Registers

registervalue
rax256, the syscall number
rdipid_t pid
rsiunsigned long maxnode
rdxconst unsigned long *from
r10const unsigned long *to
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/migrate_pages