pub unsafe fn recommit(base: *mut u8, start: usize, end: usize)Expand description
Recommit pages [base + start, base + end) previously passed to
decommit. On Windows this re-commits physical pages
(VirtualAlloc(MEM_COMMIT)); on Unix re-access is implicit so this is a
no-op.
start and end must be multiples of PAGE and within the span.
§Safety
base must be the as_ptr of a live reservation
whose [base+start, base+end) range was previously decommitted.