]> git.baikalelectronics.ru Git - kernel.git/commit
ARM64: mm: HugeTLB support.
authorSteve Capper <steve.capper@linaro.org>
Wed, 10 Apr 2013 12:48:00 +0000 (13:48 +0100)
committerSteve Capper <steve.capper@linaro.org>
Fri, 14 Jun 2013 08:52:40 +0000 (09:52 +0100)
commitccdb7fdf2dc4f23479292eed51d4f091c7c2f1c1
tree2c26ab58c8b95fb5c6f925044c3873979217da4a
parent1474a34b65f3b7967ec603efcfcf38eb062d0326
ARM64: mm: HugeTLB support.

Add huge page support to ARM64, different huge page sizes are
supported depending on the size of normal pages:

PAGE_SIZE is 4KB:
   2MB - (pmds) these can be allocated at any time.
1024MB - (puds) usually allocated on bootup with the command line
         with something like: hugepagesz=1G hugepages=6

PAGE_SIZE is 64KB:
 512MB - (pmds) usually allocated on bootup via command line.

Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/include/asm/hugetlb.h [new file with mode: 0644]
arch/arm64/include/asm/pgtable-hwdef.h
arch/arm64/include/asm/pgtable.h
arch/arm64/mm/Makefile
arch/arm64/mm/fault.c
arch/arm64/mm/hugetlbpage.c [new file with mode: 0644]