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>
Fri, 9 May 2014 11:02:47 +0000 (12:02 +0100)
commita348ad67a1dfd4a7aa2400f8d39082c05dab0303
tree41876e22f4df95151393aaf3438d3eefdb05c098
parent74c50894f33d4bf349499e8f6ac75db3dd1ff3ff
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