Re: [PATCH] arm: Don't use memblock limit for the lowmem bound

From: Russell King - ARM Linux
Date: Thu May 14 2015 - 06:15:19 EST


On Mon, May 11, 2015 at 07:53:41PM -0700, Laura Abbott wrote:
> From: Laura Abbott <labbott@xxxxxxxxxx>
>
> The memblock limit is currently used in find_limits
> to find the bounds for ZONE_NORMAL. The memblock
> limit may need to be rounded down a PMD size to ensure
> allocations are fully mapped though. This has the side
> effect of reducing the amount of memory in ZONE_NORMAL.
> Since we generally want to optimize for more lowmem, fix
> this by using arm_lowmem_limit to calculate the bounds.
> This what is used for actually mapping lowmem anyway.
>
> Before:
> # cat /proc/zoneinfo | grep managed
> managed 62920
>
> After:
> # cat /proc/zoneinfo | grep managed
> managed 63336
>
>
>
> Signed-off-by: Laura Abbott <labbott@xxxxxxxxxx>

Ok. -> patch system please.

--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/