android_kernel_motorola_sm6225/arch/sparc64
Andi Kleen a551643895 hugetlb: modular state for hugetlb page size
The goal of this patchset is to support multiple hugetlb page sizes.  This
is achieved by introducing a new struct hstate structure, which
encapsulates the important hugetlb state and constants (eg.  huge page
size, number of huge pages currently allocated, etc).

The hstate structure is then passed around the code which requires these
fields, they will do the right thing regardless of the exact hstate they
are operating on.

This patch adds the hstate structure, with a single global instance of it
(default_hstate), and does the basic work of converting hugetlb to use the
hstate.

Future patches will add more hstate structures to allow for different
hugetlbfs mounts to have different page sizes.

[akpm@linux-foundation.org: coding-style fixes]
Acked-by: Adam Litke <agl@us.ibm.com>
Acked-by: Nishanth Aravamudan <nacc@us.ibm.com>
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>
2008-07-24 10:47:17 -07:00
..
boot sparc64: remove CVS keywords 2008-05-20 00:33:43 -07:00
kernel Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus 2008-07-22 13:17:15 -07:00
lib sparc64: Remove 4MB and 512K base page size options. 2008-07-17 23:44:53 -07:00
math-emu sparc64: remove CVS keywords 2008-05-20 00:33:43 -07:00
mm hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
prom sparc64: remove CVS keywords 2008-05-20 00:33:43 -07:00
defconfig sparc64: Update defconfig. 2008-07-18 01:49:06 -07:00
Kconfig sparc64: Remove 4MB and 512K base page size options. 2008-07-17 23:44:53 -07:00
Kconfig.debug sparc64: add ftrace support. 2008-05-23 22:36:13 +02:00
Makefile sparc: add -m64 when building vmlinux.lds 2008-07-17 21:39:11 -07:00