syscall.sh / x86 / 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)
number294 (0x126)
abii386
entry pointsys_migrate_pages
sinceLinux 3.3
man pagemigrate_pages(2)
sourceelixir.bootlin.com

Registers

registervalue
eax294, the syscall number
ebxpid_t pid
ecxunsigned long maxnode
edxconst unsigned long *from
esiconst unsigned long *to
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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