syscall.sh / x32 / madvise

madvise

give advice about use of memory

sys_madvise(unsigned long start, size_t len, int behavior)
number1073741852 (0x4000001c)
abicommon
entry pointsys_madvise
sinceLinux 3.4
man pagemadvise(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741852, 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/x32/madvise