original_kernel/arch/powerpc/mm
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
..
40x_mmu.c
44x_mmu.c
Makefile
fault.c
fsl_booke_mmu.c
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c powerpc: support multiple hugepage sizes 2008-07-24 10:47:19 -07:00
hugetlbpage.c powerpc: support multiple hugepage sizes 2008-07-24 10:47:19 -07:00
init_32.c
init_64.c powerpc: support multiple hugepage sizes 2008-07-24 10:47:19 -07:00
mem.c
mmap.c
mmu_context_32.c
mmu_context_64.c
mmu_decl.h
numa.c mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
pgtable_32.c powerpc ioremap_prot 2008-07-24 10:47:15 -07:00
pgtable_64.c powerpc ioremap_prot 2008-07-24 10:47:15 -07:00
ppc_mmu_32.c
slb.c
slb_low.S
slice.c
stab.c
subpage-prot.c
tlb_32.c
tlb_64.c powerpc: support multiple hugepage sizes 2008-07-24 10:47:19 -07:00