From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: [RFC PATCH v2 10/11] ARM64: mm: Raise MAX_ORDER for 64KB pages and THP. Date: Thu, 16 May 2013 15:59:27 +0100 Message-ID: <20130516145927.GF18308@arm.com> References: <1368006763-30774-1-git-send-email-steve.capper@linaro.org> <1368006763-30774-11-git-send-email-steve.capper@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1368006763-30774-11-git-send-email-steve.capper@linaro.org> Sender: owner-linux-mm@kvack.org To: Steve Capper Cc: "linux-mm@kvack.org" , "x86@kernel.org" , "linux-arch@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Michal Hocko , Ken Chen , Mel Gorman , Will Deacon , "patches@linaro.org" List-Id: linux-arch.vger.kernel.org On Wed, May 08, 2013 at 10:52:42AM +0100, Steve Capper wrote: > The buddy allocator has a default MAX_ORDER of 11, which is too > low to allocate enough memory for 512MB Transparent HugePages if > our base page size is 64KB. > > This patch introduces MAX_ZONE_ORDER and sets it to 14 when 64KB > pages are used in conjuction with THP, otherwise the default value > of 11 is used. > > Signed-off-by: Steve Capper Acked-by: Catalin Marinas -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fw-tnat.cambridge.arm.com ([217.140.96.21]:52820 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751392Ab3EPPCh (ORCPT ); Thu, 16 May 2013 11:02:37 -0400 Date: Thu, 16 May 2013 15:59:27 +0100 From: Catalin Marinas Subject: Re: [RFC PATCH v2 10/11] ARM64: mm: Raise MAX_ORDER for 64KB pages and THP. Message-ID: <20130516145927.GF18308@arm.com> References: <1368006763-30774-1-git-send-email-steve.capper@linaro.org> <1368006763-30774-11-git-send-email-steve.capper@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1368006763-30774-11-git-send-email-steve.capper@linaro.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Steve Capper Cc: "linux-mm@kvack.org" , "x86@kernel.org" , "linux-arch@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Michal Hocko , Ken Chen , Mel Gorman , Will Deacon , "patches@linaro.org" Message-ID: <20130516145927.yeJ5qCbq1yo2pRfB-HspByw65Fo6uV0cUCPFfJD2Gw0@z> On Wed, May 08, 2013 at 10:52:42AM +0100, Steve Capper wrote: > The buddy allocator has a default MAX_ORDER of 11, which is too > low to allocate enough memory for 512MB Transparent HugePages if > our base page size is 64KB. > > This patch introduces MAX_ZONE_ORDER and sets it to 14 when 64KB > pages are used in conjuction with THP, otherwise the default value > of 11 is used. > > Signed-off-by: Steve Capper Acked-by: Catalin Marinas