|author||Mel Gorman <firstname.lastname@example.org>||2006-11-23 12:01:41 +0000|
|committer||Linus Torvalds <email@example.com>||2006-11-23 09:30:38 -0800|
[PATCH] x86_64: fix bad page state in process 'swapper'
find_min_pfn_for_node() and find_min_pfn_with_active_regions() both depend on a sorted early_node_map. However, sort_node_map() is being called after fin_min_pfn_with_active_regions() in free_area_init_nodes(). In most cases, this is ok, but on at least one x86_64, the SRAT table caused the E820 ranges to be registered out of order. This gave the wrong values for the min PFN range resulting in some pages not being initialised. This patch sorts the early_node_map in find_min_pfn_for_node(). It has been boot tested on x86, x86_64, ppc64 and ia64. Signed-off-by: Mel Gorman <firstname.lastname@example.org> Acked-by: Andre Noll <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Diffstat (limited to 'usr/Makefile')
0 files changed, 0 insertions, 0 deletions