process_madvise on nds32

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
kconfigCONFIG_ADVISE_SYSCALLS
entry pointsys_process_madvise
sinceLinux 5.10
man pageprocess_madvise(2)
sourceelixir.bootlin.com

Registers

registervalue
r15440, the syscall number
r0int pidfd
r1const struct iovec *vec
r2size_t vlen
r3int behavior
r4unsigned int flags
r0the return value

Then run syscall to enter the kernel.

This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/process_madvise?kernel=all