2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 09:13:55 +08:00
linux-next/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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 Add .gitignore files for MIPS. 2005-11-07 18:05:37 +00:00
cobalt Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lib-32 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lib-64 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
math-emu Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 [MIPS] Oprofile: Support VSMP on 34K. 2006-06-29 21:10:54 +01:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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
defconfig [MIPS] Update defconfigs to 2.6.18-rc1. 2006-07-13 21:25:57 +01:00
Kconfig [MIPS] Sparsemem fixes 2006-07-13 21:26:07 +01:00
Kconfig.debug [MIPS] Kconfig: Clarify description of CROSSCOMPILE. 2006-04-27 15:13:50 +01:00
Makefile [MIPS] Consistent formatting for Qemu makefile segment. 2006-06-29 21:10:47 +01:00