Skip to main content

huge_pages

Function huge_pages 

Source
pub fn huge_pages() -> Result<Option<HugePages>>
Expand description

Explicit huge pages and the transparent-huge-page mode, which databases and JIT runtimes care about. Linux: /proc/meminfo and /sys/kernel/mm/transparent_hugepage/enabled. Windows: the large page minimum (the pool counts are zero). macOS: None.

§Errors

Malformed when the kernel’s files do not parse.