diff options
author | Mel Gorman <mel@skynet.ie> | 2006-11-23 12:01:41 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-23 09:30:38 -0800 |
commit | 1abbfb412b1610ec3a7ec0164108cee01191d9f5 (patch) | |
tree | ab63b4e9b901455385a55ffa4a30b23343d363eb /drivers/infiniband/core/core_priv.h | |
parent | 0b1082efb92eedb28e982cfae526267ebdcf5622 (diff) |
[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 <mel@csn.ul.ie>
Acked-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/core/core_priv.h')
0 files changed, 0 insertions, 0 deletions