On Mon, Oct 22, 2012 at 2:00 PM, H. Peter Anvin <h...@zytor.com> wrote: > On 10/22/2012 01:50 PM, Yinghai Lu wrote: >>> >>> We should not map a partial page at the end of RAM; it is functionally >>> lost. >> >> Now we did not, we have max_low_pfn, and max_pfn to cap out end partial page. >> > > Well, it is not just end of RAM, which is where the entire current > implementation falls apart, obviously. >
ok, I will fix that from memblock_x86_fill(). after we put the E820_RAM and E820_RESERVED_KERN in to memblock, do one trim in memblock.memory. Thanks Yinghai Lu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/