brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · a110124 Raw
44 lines · plain
1.. _hugetlbpage_index:2 3====================4HugeTLBpage on ARM645====================6 7Hugepage relies on making efficient use of TLBs to improve performance of8address translations. The benefit depends on both -9 10  - the size of hugepages11  - size of entries supported by the TLBs12 13The ARM64 port supports two flavours of hugepages.14 151) Block mappings at the pud/pmd level16--------------------------------------17 18These are regular hugepages where a pmd or a pud page table entry points to a19block of memory. Regardless of the supported size of entries in TLB, block20mappings reduce the depth of page table walk needed to translate hugepage21addresses.22 232) Using the Contiguous bit24---------------------------25 26The architecture provides a contiguous bit in the translation table entries27(D4.5.3, ARM DDI 0487C.a) that hints to the MMU to indicate that it is one of a28contiguous set of entries that can be cached in a single TLB entry.29 30The contiguous bit is used in Linux to increase the mapping size at the pmd and31pte (last) level. The number of supported contiguous entries varies by page size32and level of the page table.33 34 35The following hugepage sizes are supported -36 37  ====== ========   ====    ========    ===38  -      CONT PTE    PMD    CONT PMD    PUD39  ====== ========   ====    ========    ===40  4K:         64K     2M         32M     1G41  16K:         2M    32M          1G42  64K:         2M   512M         16G43  ====== ========   ====    ========    ===44