WSL2-Linux-Kernel/arch/ia64/mm
KAMEZAWA Hiroyuki cc2559bccc mm: fix memmap init for handling memory hole
Now, early_pfn_in_nid(PFN, NID) may returns false if PFN is a hole.
and memmap initialization was not done. This was a trouble for
sparc boot.

To fix this, the PFN should be initialized and marked as PG_reserved.
This patch changes early_pfn_in_nid() return true if PFN is a hole.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reported-by: David Miller <davem@davemlloft.net>
Tested-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: <stable@kernel.org>		[2.6.25.x, 2.6.26.x, 2.6.27.x, 2.6.28.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-02-18 15:37:55 -08:00
..
Makefile [PATCH] ia64: ioremap: check EFI for valid memory attributes 2006-03-26 08:56:54 -08:00
contig.c [IA64] Put the space for cpu0 per-cpu area into .data section 2008-09-29 16:39:19 -07:00
discontig.c [IA64] fix the difference between node_mem_map and node_start_pfn 2008-11-04 11:31:12 -08:00
extable.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fault.c [IA64] kprobes arch consolidation build fix 2008-03-06 09:49:01 -08:00
hugetlbpage.c GRU Driver: hardware data structures 2008-07-30 09:41:47 -07:00
init.c mm: show node to memory section relationship with symlinks in sysfs 2009-01-06 15:59:00 -08:00
ioremap.c [IA64] make ioremap avoid unsupported attributes 2007-03-30 09:37:41 -07:00
numa.c mm: fix memmap init for handling memory hole 2009-02-18 15:37:55 -08:00
tlb.c [IA64] Fix annoying IA64_TR_ALLOC_MAX message. 2008-10-17 13:47:53 -07:00