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)
committerSteve Capper <steve.capper@linaro.org>
Tue, 4 Jun 2013 15:52:38 +0000 (16:52 +0100)
commit8d962507007357d6fbbcbdd1647faa389a9aed6d
tree019135b49067394cfd3c002d4900aba91089f66f
parent1355e2a6eb88f04d76125c057dc5fca64d4b6a9e
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>
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