syscall.sh / m68k / 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)
number310 (0x136)
abicommon
entry pointsys_move_pages
sinceLinux 5.0
man pagemove_pages(2)
sourceelixir.bootlin.com

Registers

registervalue
d0310, the syscall number
d1pid_t pid
d2unsigned long nr_pages
d3const void * *pages
d4const int *nodes
d5int *status
a0int flags
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/move_pages