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

Registers

registervalue
r1219, the syscall number
r2unsigned long start
r3size_t len
r4int behavior
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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