syscall.sh / xtensa / 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)
number263 (0x107)
abicommon
entry pointsys_mbind
sinceLinux 5.0
man pagembind(2)
sourceelixir.bootlin.com

Registers

registervalue
a2263, the syscall number
a6unsigned long start
a3unsigned long len
a4unsigned long mode
a5const unsigned long *nmask
a8unsigned long maxnode
a9unsigned flags
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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