android_kernel_xiaomi_sm8350/arch/sh/mm
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
..
cache-debugfs.c sh: Create an sh debugfs root. 2008-04-18 09:50:01 -07:00
cache-sh2.c
cache-sh3.c
cache-sh4.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
cache-sh5.c sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
cache-sh7705.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
consistent.c sh: declared coherent memory support V2 fix 2008-02-14 14:22:07 +09:00
extable_32.c sh: Split out extable.c _32 and _64 variants. 2008-01-28 13:18:44 +09:00
extable_64.c sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
fault_32.c sh: Fix multiple UTLB hit on UP SH-4. 2008-02-14 14:45:08 +09:00
fault_64.c sh: Kill off a stray proc tlb reference in fault_64. 2008-01-28 13:18:52 +09:00
hugetlbpage.c hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
init.c hotplug-memory: make online_page() common 2008-04-28 08:58:17 -07:00
ioremap_32.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00
ioremap_64.c sh64: export onchip_remap/unmap() too. 2008-05-08 19:51:41 +09:00
Kconfig sh: Flag PMB support as EXPERIMENTAL. 2008-03-06 16:06:38 +09:00
Makefile sh: Split out extable.c _32 and _64 variants. 2008-01-28 13:18:44 +09:00
Makefile_32 sh: clear/copy_page renames in lib and lib64. 2008-01-28 13:18:54 +09:00
Makefile_64 sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
numa.c mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
pg-nommu.c sh: Tidy up various clear_page()/copy_page() definitions. 2008-01-28 13:18:50 +09:00
pg-sh4.c
pg-sh7705.c sh/mm/pg-sh7705.c must #include <linux/fs.h> 2008-03-06 11:11:49 +09:00
pmb.c sh: Create an sh debugfs root. 2008-04-18 09:50:01 -07:00
tlb-nommu.c sh: Provide a stubbed __set_fixmap() for nommu. 2008-01-28 13:19:01 +09:00
tlb-sh3.c
tlb-sh4.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
tlb-sh5.c sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
tlbflush_32.c sh: Rename the _32 and _64 TLB flush variants. 2008-01-28 13:18:54 +09:00
tlbflush_64.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00