[][src]Function linux::syscall::madvise

pub unsafe fn madvise(addr: usize, len: usize, advice: c_int) -> c_int

Advise the kernel of a certain memory usage pattern.

[argument, addr] The start of the range to be advised.

[argument, len] The length of the range to be advised.

[argument, advice] The advice given.

= See also

  • link:man:madvise(2)