kernel-ark/arch
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
..
alpha mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
arm mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
avr32 mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
blackfin remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
cris mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
frv
h8300
ia64 hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
m32r mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
m68k mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
m68knommu Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2008-07-16 17:25:46 -07:00
mips mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
mn10300 MN10300: Fix MN10300's serial port driver to get at its tty_struct 2008-07-20 17:12:35 -07:00
parisc mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
powerpc hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
s390 hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
sh hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
sparc mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
sparc64 hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
um UML - Fix boot crash 2008-07-23 09:36:56 -07:00
v850 mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
x86 hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
xtensa remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
.gitignore
Kconfig access_process_vm device memory infrastructure 2008-07-24 10:47:15 -07:00