syscall.sh / mipso32 / process_madvise

process_madvise

give advice about use of memory to a process

sys_process_madvise(int pidfd, const struct iovec *vec, size_t vlen, int behavior, unsigned int flags)
number4440 (0x1158)
abio32
entry pointsys_process_madvise
sinceLinux 5.10
man pageprocess_madvise(2)
sourceelixir.bootlin.com

Registers

registervalue
v04440, the syscall number
a0int pidfd
a1const struct iovec *vec
a2size_t vlen
a3int behavior
sp+16unsigned int flags
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/process_madvise