syscall.sh / sparc64 / mbind

mbind

set memory policy for a memory range

sys_mbind(unsigned long start, unsigned long len, unsigned long mode, const unsigned long *nmask, unsigned long maxnode, unsigned flags)
number303 (0x12f)
abicommon
entry pointsys_mbind
sinceLinux 5.0
man pagembind(2)
sourceelixir.bootlin.com

Registers

registervalue
g1303, the syscall number
o0unsigned long start
o1unsigned long len
o2unsigned long mode
o3const unsigned long *nmask
o4unsigned long maxnode
o5unsigned flags
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/mbind