x86: max_low_pfn_mapped fix, #3
authorYinghai Lu <yhlu.kernel@gmail.com>
Sat, 12 Jul 2008 21:32:45 +0000 (14:32 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 13 Jul 2008 06:19:16 +0000 (08:19 +0200)
commit9958e810f8ac92f8a447035ee6555420ba27b847
tree1761a7d04aebeb9b345ea8e2b74abd555a9c3926
parent965194c15dc9e4f3bc44432b39c441c86af7f11d
x86: max_low_pfn_mapped fix, #3

optimization: try to merge the range with same page size in
init_memory_mapping, to get the best possible linear mappings set up.

thus when GBpages is not there, we could do 2M pages.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_64.c