syscall.sh / arc / madvise

madvise

give advice about use of memory

sys_madvise(unsigned long start, size_t len, int behavior)
number233 (0xe9)
abicommon
entry pointsys_madvise
sinceLinux 3.9
man pagemadvise(2)
sourceelixir.bootlin.com

Registers

registervalue
r8233, the syscall number
r0unsigned long start
r1size_t len
r2int behavior
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/madvise