x86: add hugepagesz option on 64-bit
commitb4718e628dbf68a2dee23b5709e2aa3190409c56
authorAndi Kleen <ak@suse.de>
Thu, 24 Jul 2008 04:27:51 +0000 (23 21:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:19 +0000 (24 10:47 -0700)
treee685b2bd36a0fe731b128d2814996a693561d288
parent39c11e6c05b7fedbf7ed4df3908b25f622d56204
x86: add hugepagesz option on 64-bit

Add an hugepagesz=...  option similar to IA64, PPC etc.  to x86-64.

This finally allows to select GB pages for hugetlbfs in x86 now that all
the infrastructure is in place.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/kernel-parameters.txt
arch/x86/mm/hugetlbpage.c
include/asm-x86/page.h