Memory size unaligned to section boundary
Russell King - ARM Linux
linux at arm.linux.org.uk
Wed May 6 04:35:03 PDT 2015
On Wed, May 06, 2015 at 11:51:03AM +0100, Catalin Marinas wrote:
> On Wed, May 06, 2015 at 11:11:05AM +0100, Russell King - ARM Linux wrote:
> > @@ -1142,7 +1142,7 @@ void __init sanity_check_meminfo(void)
> > * last full section, which should be mapped.
> > */
> > if (memblock_limit)
> > - memblock_limit = round_down(memblock_limit, SECTION_SIZE);
> > + memblock_limit = round_down(memblock_limit, 2 * SECTION_SIZE);
>
> Why not PMD_SIZE? We don't need 4MB round down with LPAE.
No reason - PMD_SIZE would be good there.
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel
mailing list