ARM64: mm: THP support.
authorSteve Capper <steve.capper@linaro.org>
Fri, 19 Apr 2013 15:23:57 +0000 (16:23 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 18:59:50 +0000 (19:59 +0100)
commitd9ccf6b1647eae73f79d45c12474ae73e29dc784
tree22619a90584996eacd30b62cbdaf018906383fc6
parent00d9acb13773b654361ea92da5e915e2804e544f
ARM64: mm: THP support.

Bring Transparent HugePage support to ARM. The size of a
transparent huge page depends on the normal page size. A
transparent huge page is always represented as a pmd.

If PAGE_SIZE is 4KB, THPs are 2MB.
If PAGE_SIZE is 64KB, THPs are 512MB.

Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/include/asm/pgtable-hwdef.h
arch/arm64/include/asm/pgtable.h
arch/arm64/include/asm/tlb.h
arch/arm64/include/asm/tlbflush.h