diff options
author | Steve Capper <steve.capper@linaro.org> | 2013-04-19 17:23:57 +0200 |
---|---|---|
committer | Steve Capper <steve.capper@linaro.org> | 2013-06-14 10:52:41 +0200 |
commit | af07484863e0c20796081e57093886c22dc16705 (patch) | |
tree | c9891c1048f860413c7cfd79e2b7a686c8be0263 /arch/arm64/include/asm/tlbflush.h | |
parent | ARM64: mm: Raise MAX_ORDER for 64KB pages and THP. (diff) | |
download | linux-af07484863e0c20796081e57093886c22dc16705.tar.xz linux-af07484863e0c20796081e57093886c22dc16705.zip |
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>
Diffstat (limited to 'arch/arm64/include/asm/tlbflush.h')
-rw-r--r-- | arch/arm64/include/asm/tlbflush.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/tlbflush.h b/arch/arm64/include/asm/tlbflush.h index 122d6320f745..8b482035cfc2 100644 --- a/arch/arm64/include/asm/tlbflush.h +++ b/arch/arm64/include/asm/tlbflush.h @@ -117,6 +117,8 @@ static inline void update_mmu_cache(struct vm_area_struct *vma, dsb(); } +#define update_mmu_cache_pmd(vma, address, pmd) do { } while (0) + #endif #endif |