syscall.sh / s390x / 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)
number287 (0x11f)
abicommon
entry pointsys_migrate_pages
sinceLinux 4.16
man pagemigrate_pages(2)
sourceelixir.bootlin.com

Registers

registervalue
r1287, the syscall number
r2pid_t pid
r3unsigned long maxnode
r4const unsigned long *from
r5const unsigned long *to
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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