ARM: mm: Transparent huge page support for LPAE systems.
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 25 Jul 2012 13:39:26 +0000 (14:39 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 18:24:59 +0000 (20:24 +0200)
commit3b132a8c46e7d0a95ceb75098aeeb06958fa7670
treebbff1e473dea20ff558c64d4fbd1774b962c404a
parentb76e94dbf7d662625f45dc874e4aa60f3dd1ef70
ARM: mm: Transparent huge page support for LPAE systems.

The patch adds support for THP (transparent huge pages) to LPAE
systems. When this feature is enabled, the kernel tries to map
anonymous pages as 2MB sections where possible.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
[steve.capper@linaro.org: symbolic constants used, value of
PMD_SECT_SPLITTING adjusted, tlbflush.h included in pgtable.h,
added PROT_NONE support.]
Signed-off-by: Steve Capper <steve.capper@linaro.org>
Reviewed-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 8d962507007357d6fbbcbdd1647faa389a9aed6d)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/Kconfig
arch/arm/include/asm/pgtable-3level-hwdef.h
arch/arm/include/asm/pgtable-3level.h
arch/arm/include/asm/pgtable.h
arch/arm/include/asm/tlb.h
arch/arm/include/asm/tlbflush.h
arch/arm/mm/fsr-3level.c