PAGE_TABLE_MAX_COUNT

Constant PAGE_TABLE_MAX_COUNT 

Source
pub const PAGE_TABLE_MAX_COUNT: usize = 20;
Expand description

An upper bound on the number of page tables that will be built for an x64 identity map. The builder will greedily map the largest possible page size, a cap of 20 tables is more than enough for mapping a few gigabytes with mostly large pages, which is sufficient for all of the current use cases of the identity map builder