original_kernel/arch/mips
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
..
arc
au1000 [MIPS] au1xxx: Support both YAMON and U-Boot 2006-07-13 21:26:02 +01:00
basler/excite [MIPS] Don't include obsolete <linux/config.h>. 2006-07-13 21:25:58 +01:00
boot
cobalt
configs [MIPS] Update defconfigs to 2.6.18-rc1. 2006-07-13 21:25:57 +01:00
ddb5xxx [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
dec [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
emma2rh [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
galileo-boards/ev96100
gt64120 [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
ite-boards [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
jazz [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
jmr3927 [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
kernel [MIPS] MIPS MT: Fix build error. 2006-07-13 21:26:06 +01:00
lasat [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
lib
lib-32
lib-64
math-emu
mips-boards [MIPS] Malta: Fix build of certain configs. 2006-07-13 21:26:03 +01:00
mm [MIPS] Do not count pages in holes with sparsemem 2006-07-13 21:26:08 +01:00
momentum [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
oprofile
pci [MIPS] Don't include obsolete <linux/config.h>. 2006-07-13 21:25:58 +01:00
philips/pnx8550 [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
pmc-sierra
qemu [MIPS] Don't include obsolete <linux/config.h>. 2006-07-13 21:25:58 +01:00
sgi-ip22 [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
sgi-ip27 [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
sgi-ip32 [MIPS] IP32: Fix wreckage caused by recent SA_* constant replacement. 2006-07-13 21:26:07 +01:00
sibyte [MIPS] BCM1480: Fix fatal typo in the rewritten interrupt handler. 2006-07-13 21:26:05 +01:00
sni [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
tx4927 [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
tx4938 [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
vr41xx [MIPS] Eleminate interrupt migration helper use. 2006-07-13 21:25:58 +01:00
Kconfig [MIPS] Sparsemem fixes 2006-07-13 21:26:07 +01:00
Kconfig.debug
Makefile
defconfig [MIPS] Update defconfigs to 2.6.18-rc1. 2006-07-13 21:25:57 +01:00