ARM64: mm: THP support.
authorSteve Capper <steve.capper@linaro.org>
Fri, 19 Apr 2013 15:23:57 +0000 (16:23 +0100)
committerSteve Capper <steve.capper@linaro.org>
Fri, 14 Jun 2013 08:52:41 +0000 (09:52 +0100)
commitaf07484863e0c20796081e57093886c22dc16705
treec9891c1048f860413c7cfd79e2b7a686c8be0263
parentd03bb1455f3a2804539ed27047fd3b073fdeb3e0
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