Constant nc::types::MAP_HUGE_SHIFT

source ·
pub const MAP_HUGE_SHIFT: i32 = HUGETLB_FLAG_ENCODE_SHIFT; // 26i32
Expand description

Huge page size encoding when MAP_HUGETLB is specified, and a huge page size other than the default is desired. See hugetlb_encode.h. All known huge page size encodings are provided here. It is the responsibility of the application to know which sizes are supported on the running system. See mmap(2) man page for details.