linux/arch/powerpc
Jon Tollefson 0d9ea75443 powerpc: support multiple hugepage sizes
Instead of using the variable mmu_huge_psize to keep track of the huge
page size we use an array of MMU_PAGE_* values.  For each supported huge
page size we need to know the hugepte_shift value and have a
pgtable_cache.  The hstate or an mmu_huge_psizes index is passed to
functions so that they know which huge page size they should use.

The hugepage sizes 16M and 64K are setup(if available on the hardware) so
that they don't have to be set on the boot cmd line in order to use them.
The number of 16G pages have to be specified at boot-time though (e.g.
hugepagesz=16G hugepages=5).

Signed-off-by: Jon Tollefson <kniht@linux.vnet.ibm.com>
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:19 -07:00
..
boot powerpc/boot: Change spaces to tabs 2008-07-22 10:39:35 +10:00
configs powerpc/ps3: Update ps3_defconfig 2008-07-22 10:39:33 +10:00
kernel kgdb, powerpc: arch specific powerpc kgdb support 2008-07-23 11:30:15 -05:00
kvm KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction 2008-07-20 12:42:40 +03:00
lib powerpc: Use PPC_LONG and PPC_LONG_ALIGN in lib/string.S 2008-07-22 10:39:35 +10:00
math-emu powerpc: Add macros to access floating point registers in thread_struct. 2008-07-01 11:28:43 +10:00
mm powerpc: support multiple hugepage sizes 2008-07-24 10:47:19 -07:00
oprofile on_each_cpu(): kill unused 'retry' parameter 2008-06-26 11:24:38 +02:00
platforms spufs: use new vm_ops->access to allow local state access from gdb 2008-07-24 10:47:15 -07:00
sysdev powerpc/dma: Use the struct dma_attrs in iommu code 2008-07-22 10:39:32 +10:00
xmon Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
.gitignore
Kconfig powerpc ioremap_prot 2008-07-24 10:47:15 -07:00
Kconfig.debug kgdb, powerpc: arch specific powerpc kgdb support 2008-07-23 11:30:15 -05:00
Makefile powerpc/bootwrapper: Add documentation of boot wrapper targets 2008-07-04 00:59:03 -06:00