]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Add Huge Page and HUGETLBFS support
authorHelge Deller <deller@gmx.de>
Sat, 21 Nov 2015 23:07:06 +0000 (00:07 +0100)
committerHelge Deller <deller@gmx.de>
Sun, 22 Nov 2015 11:23:10 +0000 (12:23 +0100)
commit37cf6de891ef2398e4df54ef35af341b2ce7119f
tree69165c38eafe94a26675eae70e4f09bae4863fa4
parent7fa4bf6af784bad3c730145d1c36b05c6c57365a
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>
arch/parisc/Kconfig
arch/parisc/include/asm/hugetlb.h [new file with mode: 0644]
arch/parisc/kernel/entry.S
arch/parisc/kernel/setup.c
arch/parisc/mm/Makefile
arch/parisc/mm/hugetlbpage.c [new file with mode: 0644]