commit | d03bb1455f3a2804539ed27047fd3b073fdeb3e0 | [log] [tgz] |
---|---|---|
author | Steve Capper <steve.capper@linaro.org> | Thu Apr 25 15:19:21 2013 +0100 |
committer | Steve Capper <steve.capper@linaro.org> | Fri Jun 14 09:52:40 2013 +0100 |
tree | 68066ff606f7cf2c19d2d314cb0d4500f5f4213f | |
parent | 084bd29810a5689e423d2f085255a3200a03a06e [diff] |
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 <steve.capper@linaro.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com>