diff options
author | Helge Deller <deller@gmx.de> | 2015-11-22 00:07:06 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2015-11-22 12:23:10 +0100 |
commit | 736d2169338a50c8814efc186b5423aee43b0c68 (patch) | |
tree | 69165c38eafe94a26675eae70e4f09bae4863fa4 /arch/parisc/Kconfig | |
parent | parisc: Use long branch to do_syscall_trace_exit (diff) | |
download | linux-736d2169338a50c8814efc186b5423aee43b0c68.tar.xz linux-736d2169338a50c8814efc186b5423aee43b0c68.zip |
parisc: Add Huge Page and HUGETLBFS support
This patch adds huge page support to allow userspace to allocate huge
pages and to use hugetlbfs filesystem on 32- and 64-bit Linux kernels.
A later patch will add kernel support to map kernel text and data on
huge pages.
The only requirement is, that the kernel needs to be compiled for a
PA8X00 CPU (PA2.0 architecture). Older PA1.X CPUs do not support
variable page sizes. 64bit Kernels are compiled for PA2.0 by default.
Technically on parisc multiple physical huge pages may be needed to
emulate standard 2MB huge pages.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/Kconfig')
-rw-r--r-- | arch/parisc/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index c36546959e86..729f89163bc3 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -108,6 +108,9 @@ config PGTABLE_LEVELS default 3 if 64BIT && PARISC_PAGE_SIZE_4KB default 2 +config SYS_SUPPORTS_HUGETLBFS + def_bool y if PA20 + source "init/Kconfig" source "kernel/Kconfig.freezer" |