pub fn mlockall(flags: MlockAllFlags) -> Result<()>
Available on crate feature
mman
only.Expand description
Locks all memory pages mapped into this process’ address space.
Locked pages never move to the swap area. For more information, see mlockall(2)
.