Module hugetlb

Source
Expand description

Huge-page interface for MappedFile<T> and MemoryFile.

Structs§

HugePageCalcErr
Error for when HugePage::compute_huge() fails.
MapHugeFlag
Represents a statically defined MAP_HUGE_* flag.
SYSTEM_HUGEPAGES
A list of all availble huge-page flags if enumeration of them is possible.

Enums§

HugePage
Provides an arbitrary huge-page size and mapping flag for that size.

Constants§

HUGEPAGE_LOCATION
Location in which the kernel exposes available huge-page sizes.

Functions§

scan_hugepages
Scan the system for available huge-page sizes (in kB).