android_kernel_samsung_msm8976/arch
Atsushi Nemoto 565200a146 [MIPS] Do not count pages in holes with sparsemem
With some memory model other than FLATMEM, the single node can
contains some holes so there might be many invalid pages.  For
example, with two 256M memory and one 256M hole, some variables
(num_physpage, totalpages, nr_kernel_pages, nr_all_pages, etc.) will
indicate that there are 768MB on this system.  This is not desired
because, for example, alloc_large_system_hash() allocates too many
entries.
    
Use free_area_init_node() with counted zholes_size[] instead of
free_area_init().

For num_physpages, use number of ram pages instead of max_low_pfn.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-07-13 21:26:08 +01:00
..
alpha [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
arm [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
arm26 [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
cris [PATCH] pcf8563: remove MOD_INC_USE_COUNT, MOD_DEC_USE_COUNT 2006-07-10 13:24:22 -07:00
frv [PATCH] FRV: Introduce asm-offsets for FRV arch 2006-07-10 13:24:22 -07:00
h8300 [PATCH] irq-flags: H8300: Use the new IRQF_ constants 2006-07-02 13:58:47 -07:00
i386 [PATCH] PCI: poper prototype for arch/i386/pci/pcbios.c:pcibios_sort() 2006-07-12 16:05:48 -07:00
ia64 [PATCH] make valid_mmap_phys_addr_range() take a pfn 2006-07-10 13:24:25 -07:00
m32r [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
m68k [PATCH] irq-flags: M68K: Use the new IRQF_ constants 2006-07-02 13:58:47 -07:00
m68knommu [PATCH] irq-flags: M68KNOMMU: Use the new IRQF_ constants 2006-07-02 13:58:47 -07:00
mips [MIPS] Do not count pages in holes with sparsemem 2006-07-13 21:26:08 +01:00
parisc [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
powerpc [PATCH] powermac: Combined fixes for backlight code 2006-07-10 13:24:20 -07:00
ppc [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
s390 [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
sh [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
sh64 [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
sparc [SPARC]: Fix OF register translations under sub-PCI busses. 2006-07-13 01:50:15 -07:00
sparc64 [SPARC]: Fix OF register translations under sub-PCI busses. 2006-07-13 01:50:15 -07:00
um [PATCH] uml: make mconsole version requests happen in a process 2006-07-10 13:24:24 -07:00
v850 [PATCH] irq-flags: V850: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
x86_64 [PATCH] x86_64: Fix access check in ptrace compat 2006-07-10 15:12:33 -07:00
xtensa [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00