android_kernel_xiaomi_sm8350/arch
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
..
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: introduce pud_huge 2008-07-24 10:47:18 -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 powerpc: support multiple hugepage sizes 2008-07-24 10:47:19 -07:00
s390 hugetlb: introduce pud_huge 2008-07-24 10:47:18 -07:00
sh hugetlb: introduce pud_huge 2008-07-24 10:47:18 -07:00
sparc mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
sparc64 hugetlb: introduce pud_huge 2008-07-24 10:47:18 -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 x86: add hugepagesz option on 64-bit 2008-07-24 10:47:19 -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