syscall.sh / x64 / madvise

madvise

give advice about use of memory

sys_madvise(unsigned long start, size_t len, int behavior)
number28 (0x1c)
abicommon
entry pointsys_madvise
sinceLinux 3.3
man pagemadvise(2)
sourceelixir.bootlin.com

Registers

registervalue
rax28, the syscall number
rdiunsigned long start
rsisize_t len
rdxint behavior
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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