]> 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)
commitde80be5f6b8758be6b13dfef8ef05bc02389df77
tree69165c38eafe94a26675eae70e4f09bae4863fa4
parent8d8e2c63f76e5c5d02727d6d1b86716dc4ebe75b
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]