5 Hugepage relies on making efficient use of TLBs to improve performance of
6 address translations. The benefit depends on both -
8 - the size of hugepages
9 - size of entries supported by the TLBs
11 The ARM64 port supports two flavours of hugepages.
13 1) Block mappings at the pud/pmd level
14 --------------------------------------
16 These are regular hugepages where a pmd or a pud page table entry points to a
17 block of memory. Regardless of the supported size of entries in TLB, block
18 mappings reduce the depth of page table walk needed to translate hugepage
21 2) Using the Contiguous bit
22 ---------------------------
24 The architecture provides a contiguous bit in the translation table entries
25 (D4.5.3, ARM DDI 0487C.a) that hints to the MMU to indicate that it is one of a
26 contiguous set of entries that can be cached in a single TLB entry.
28 The contiguous bit is used in Linux to increase the mapping size at the pmd and
29 pte (last) level. The number of supported contiguous entries varies by page size
30 and level of the page table.
33 The following hugepage sizes are supported -
35 ====== ======== ==== ======== ===
36 - CONT PTE PMD CONT PMD PUD
37 ====== ======== ==== ======== ===
41 ====== ======== ==== ======== ===