Revision 1f25ad26d65b3740f44d6e03edcd34a5f7b58850 authored by Helge Deller on 20 November 2015, 14:46:52 UTC, committed by Helge Deller on 22 November 2015, 11:22:34 UTC
Huge pages on parisc will have the same size as one pmd table, which
is on a 64bit kernel 2MB on a kernel with 4K kernel page sizes, and
on a 32bit kernel 4MB when used with 4K kernel pages.

Since parisc does not physically supports 2MB huge page sizes, emulate
it with two consecutive 1MB page sizes instead. Keeping the same huge
page size as one pmd will allow us to add transparent huge page support
later on.

Bit 21 in the pte flags was unused and will now be used to mark a page
as huge page (_PAGE_HPAGE_BIT).

Signed-off-by: Helge Deller <deller@gmx.de>
1 parent dcbf0d2
History
File Mode Size
Makefile -rw-r--r-- 446 bytes
cdrom.c -rw-r--r-- 97.8 KB
gdrom.c -rw-r--r-- 22.8 KB

back to top