Skip to main content

SYS_MUNMAP

Constant SYS_MUNMAP 

Source
pub const SYS_MUNMAP: usize = 101; // 101usize
Expand description

Unmap a memory region.

  • addr: virtual address of the mapping (must be page-aligned)
  • len: length in bytes (rounded up to page boundary)

After this call, the region is no longer accessible. Any dirty pages are written back if the mapping was shared.