From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933493AbbENKPQ (ORCPT ); Thu, 14 May 2015 06:15:16 -0400 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:44995 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932844AbbENKPI (ORCPT ); Thu, 14 May 2015 06:15:08 -0400 Date: Thu, 14 May 2015 11:14:47 +0100 From: Russell King - ARM Linux To: Laura Abbott Cc: Mark Rutland , Arnd Bergmann , Nicolas Pitre , Stefan Agner , Laura Abbott , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Hans de Goede Subject: Re: [PATCH] arm: Don't use memblock limit for the lowmem bound Message-ID: <20150514101447.GW2067@n2100.arm.linux.org.uk> References: <1431399221-25337-1-git-send-email-labbott@fedoraproject.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431399221-25337-1-git-send-email-labbott@fedoraproject.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 11, 2015 at 07:53:41PM -0700, Laura Abbott wrote: > From: Laura Abbott > > 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 Ok. -> patch system please. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net.