android_kernel_xiaomi_sm8350/arch/ppc64/mm
Bob Picco 802f192e4a [PATCH] SPARSEMEM EXTREME
A new option for SPARSEMEM is ARCH_SPARSEMEM_EXTREME.  Architecture
platforms with a very sparse physical address space would likely want to
select this option.  For those architecture platforms that don't select the
option, the code generated is equivalent to SPARSEMEM currently in -mm.
I'll be posting a patch on ia64 ml which uses this new SPARSEMEM feature.

ARCH_SPARSEMEM_EXTREME makes mem_section a one dimensional array of
pointers to mem_sections.  This two level layout scheme is able to achieve
smaller memory requirements for SPARSEMEM with the tradeoff of an
additional shift and load when fetching the memory section.  The current
SPARSEMEM -mm implementation is a one dimensional array of mem_sections
which is the default SPARSEMEM configuration.  The patch attempts isolates
the implementation details of the physical layout of the sparsemem section
array.

ARCH_SPARSEMEM_EXTREME depends on 64BIT and is by default boolean false.

I've boot tested under aim load ia64 configured for ARCH_SPARSEMEM_EXTREME.
 I've also boot tested a 4 way Opteron machine with !ARCH_SPARSEMEM_EXTREME
and tested with aim.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Bob Picco <bob.picco@hp.com>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-05 00:05:38 -07:00
..
fault.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hash_low.S [PATCH] Remove nested feature sections 2005-08-30 13:52:12 +10:00
hash_native.c [PATCH] ppc64: Remove redundant uses of physRpn_to_absRpn 2005-08-29 10:53:36 +10:00
hash_utils.c [PATCH] ppc64: Remove physbase from the lmb_property struct 2005-08-29 10:53:37 +10:00
hugetlbpage.c [PATCH] Dynamic hugepage addresses for ppc64 2005-08-29 10:53:38 +10:00
imalloc.c [PATCH] Four level pagetables for ppc64 2005-08-29 10:53:31 +10:00
init.c [PATCH] SPARSEMEM EXTREME 2005-09-05 00:05:38 -07:00
Makefile [PATCH] ppc64: sparsemem memory model 2005-06-23 09:45:06 -07:00
mmap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
numa.c [PATCH] SPARSEMEM EXTREME 2005-09-05 00:05:38 -07:00
slb_low.S [PATCH] Fix bug in ppc64 dynamic hugepage support 2005-09-01 10:48:20 -07:00
slb.c [PATCH] ppc64: remove unused argument to create_slbe 2005-05-01 08:58:44 -07:00
stab.c [PATCH] ppc64: dynamically allocate segment tables 2005-07-27 16:25:58 -07:00
tlb.c [PATCH] Four level pagetables for ppc64 2005-08-29 10:53:31 +10:00