Skip to content
Commit b5bc6c0e authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar
Browse files

x86, mm: use add_highpages_with_active_regions() for high pages init v2



use early_node_map to init high pages, so we can remove page_is_ram() and
page_is_reserved_early() in the big loop with add_one_highpage

also remove page_is_reserved_early(), it is not needed anymore.

v2: fix the build of other platforms

Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent d0be6bde
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