On Mon, Oct 22, 2012 at 2:27 PM, H. Peter Anvin <h...@zytor.com> wrote: >> >> We never know that bios guys will not let bios produce crazy e820 map. >> > > Yeah, well, that just *will* happen... that's a given. > > We can trim those ranges, though. Who cares if we lose some RAM. >
please check attached two patches that handle partial pages for 3.7. and you still need patch in https://lkml.org/lkml/2012/8/24/469 to address early page table size calculation problem for Tom Rini Thanks Yinghai
memblock_trim_memory.patch
Description: Binary data
use_for_each_mem_pfn_range_setup.patch
Description: Binary data