[][src]Function procfs::sys::vm::compact_memory

pub fn compact_memory() -> ProcResult<()>

Force all zones are compacted such that free memory is available in contiguous blocks where possible.

This can be important for example in the allocation of huge pages although processes will also directly compact memory as required.

Present only if the kernel was configured with CONFIG_COMPACTION.