From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx159.postini.com [74.125.245.159]) by kanga.kvack.org (Postfix) with SMTP id 3DC146B0034 for ; Thu, 16 May 2013 10:59:42 -0400 (EDT) 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: owner-linux-mm@kvack.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" 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