syscall.sh / csky / 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 4.20
man pagemadvise(2)
sourceelixir.bootlin.com

Registers

registervalue
r7233, the syscall number
a0unsigned long start
a1size_t len
a2int behavior
a0the 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/csky/madvise