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

Registers

registervalue
a7233, the syscall number
a0unsigned long start
a1size_t len
a2int behavior
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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