From: Steve Capper Date: Thu, 25 Apr 2013 14:19:21 +0000 (+0100) Subject: ARM64: mm: Raise MAX_ORDER for 64KB pages and THP. X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~40^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d03bb1455f3a2804539ed27047fd3b073fdeb3e0;p=pandora-kernel.git ARM64: mm: Raise MAX_ORDER for 64KB pages and THP. 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 --- Reading git-diff-tree failed