syscall.sh / parisc / 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)
number440 (0x1b8)
abicommon
entry pointsys_process_madvise
sinceLinux 5.10
man pageprocess_madvise(2)
sourceelixir.bootlin.com

Registers

registervalue
r20440, the syscall number
r26int pidfd
r25const struct iovec *vec
r24size_t vlen
r23int behavior
r22unsigned int flags
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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