Skip to main content

page_size

Function page_size 

Source
pub fn page_size() -> usize
Expand description

Return the page size used for decommit / recommit granularity.

Currently a compile-time constant (PAGE = 4 KiB); exposed as a function so a future version can query the OS without a breaking change.