syscall.sh / sh / madvise

madvise

give advice about use of memory

sys_madvise(unsigned long start, size_t len, int behavior)
number219 (0xdb)
abicommon
entry pointsys_madvise
sinceLinux 5.0
man pagemadvise(2)
sourceelixir.bootlin.com

Registers

registervalue
r3219, the syscall number
r4unsigned long start
r5size_t len
r6int behavior
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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