Skip to content
Commit 73d60b7f authored by Yinghai Lu's avatar Yinghai Lu Committed by Linus Torvalds
Browse files

page-allocator: clear N_HIGH_MEMORY map before we set it again



SRAT tables may contains nodes of very small size.  The arch code may
decide to not activate such a node.  However, currently the early boot
code sets N_HIGH_MEMORY for such nodes.  These nodes therefore seem to be
active although these nodes have no present pages.

For 64bit N_HIGH_MEMORY == N_NORMAL_MEMORY, so that works for 64 bit too

Signed-off-by: default avatarYinghai Lu <Yinghai@kernel.org>
Tested-by: default avatarJack Steiner <steiner@sgi.com>
Acked-by: default avatarChristoph Lameter <cl@linux-foundation.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 28697355
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment