]> git.baikalelectronics.ru Git - kernel.git/commit
x86, mm: Find early page table buffer together
authorYinghai Lu <yinghai@kernel.org>
Sat, 17 Nov 2012 03:38:44 +0000 (19:38 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 17 Nov 2012 19:59:06 +0000 (11:59 -0800)
commit9f94fb1e006d6a08dc636328744f730040421512
tree15efa536cda6bd4b860d4827ba5f2f155c4e678d
parentf22b1102098b4ee4c573c1ff8229d959be1d379a
x86, mm: Find early page table buffer together

We should not do that in every calling of init_memory_mapping.

At the same time need to move down early_memtest, and could remove after_bootmem
checking.

-v2: fix one early_memtest with 32bit by passing max_pfn_mapped instead.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-8-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/init.c