On Fri, Mar 8, 2013 at 12:20 AM, Tang Chen <tangc...@cn.fujitsu.com> wrote: > Hi Yinghai, > > On 03/08/2013 12:58 PM, Yinghai Lu wrote: > ...... > >> /* xen has big range in reserved near end of ram, skip it at >> first.*/ >> - addr = memblock_find_in_range(ISA_END_ADDRESS, end, PMD_SIZE, >> PMD_SIZE); >> + addr = memblock_find_in_range(begin, end, PMD_SIZE, PMD_SIZE); > > > Found that the latest code here is: > > 414 addr = memblock_find_in_range(ISA_END_ADDRESS, end, PMD_SIZE, > 415 PAGE_SIZE); > ^^^^^^^^^^^^ > > The "align" is PAGE_SIZE, not PMD_SIZE. Not sure if it is a problem. :) >
Yes, it is PMD_SIZE. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=98e7a989979b185f49e86ddaed2ad6890299d9f0 Thanks Yinghai -- 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/