]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Add hugepagesz boot-time parameter
authorJon Tollefson <kniht@linux.vnet.ibm.com>
Thu, 3 Jan 2008 22:59:50 +0000 (09:59 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 Jan 2008 03:57:36 +0000 (14:57 +1100)
commit4ec161cf73bc0b4e5c36843638ef9171896fc0b9
treefd8d5c652bbc54f54e0b880a7540ce387ee1f34d
parent5b14e5f9ddbb1bd32a876cac75f5f3ecfd353063
[POWERPC] Add hugepagesz boot-time parameter

This adds the hugepagesz boot-time parameter for ppc64.  It lets one
pick the size for huge pages.  The choices available are 64K and 16M
when the base page size is 4k.  It defaults to 16M (previously the
only only choice) if nothing or an invalid choice is specified.

Tested 64K huge pages successfully with the libhugetlbfs 1.2.

Signed-off-by: Jon Tollefson <kniht@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Documentation/kernel-parameters.txt
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/hugetlbpage.c
include/asm-powerpc/mmu-hash64.h