From patchwork Tue Aug 25 20:07:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 7073011 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 64E37C05AC for ; Tue, 25 Aug 2015 20:10:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 86F662088C for ; Tue, 25 Aug 2015 20:10:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AFD852088B for ; Tue, 25 Aug 2015 20:10:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZUKVU-0006qA-RY; Tue, 25 Aug 2015 20:07:44 +0000 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZUKVR-0006mp-EP for linux-arm-kernel@lists.infradead.org; Tue, 25 Aug 2015 20:07:43 +0000 Received: by widdq5 with SMTP id dq5so26457583wid.1 for ; Tue, 25 Aug 2015 13:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=gY+uszJ1E8dMJXPVJnMZPSzX4nfjDJxDS9PkKuHYHjY=; b=k45QL/NGFC4ylOswxMy18YiRU/lFCwsQwumBXIDQjd5V5vJM3+5FOt0ESEGgrOn365 HrimAI4QlHTRJ/5+hMIiAhHUwM/RWIkA1xGdIuWmHkMouMQIupbvBsLM5VhJHJD8GCsX EfoBWuYeO8KMHjblpByhwWfUjOFhbwvQh0gzS6WQJMhRU7Tv8cqmvK7POZ74C9zuK01w EfXoekRgvqAhepUYgECMiTys4/+ll0378PW1yuoWCOFql6NRhow+ZydvhODhrDI2Lpv7 119lPaXwMjRE+D/DLf8tHpA0ZEunhO5ZLDnNKN1q1kWnZZhbEUtBjlj1PwxD3/v/ups6 HyDw== X-Received: by 10.195.13.200 with SMTP id fa8mr53381872wjd.9.1440533239223; Tue, 25 Aug 2015 13:07:19 -0700 (PDT) Received: from lmecul0520.st.com. (141.64.139.88.rev.sfr.net. [88.139.64.141]) by smtp.gmail.com with ESMTPSA id 4sm404291wjt.46.2015.08.25.13.07.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Aug 2015 13:07:18 -0700 (PDT) From: Maxime Coquelin To: Arnd Bergmann , olof@lixom.net, khilman@kernel.org, afaerber@suse.de Subject: [PATCH] ARM: stm32: Reduce FORCE_MAX_ZONEORDER to 9 Date: Tue, 25 Aug 2015 22:07:17 +0200 Message-Id: <1440533237-5831-1-git-send-email-mcoquelin.stm32@gmail.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150825_130741_732113_7488CEF1 X-CRM114-Status: GOOD ( 10.43 ) X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Russell King , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP STM32 boards having small amount of RAM, we can optimize by reducing max order page blocks size. Suggested-by: Andreas Färber Signed-off-by: Maxime Coquelin --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a750c14..57d53af 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1734,7 +1734,7 @@ config FORCE_MAX_ZONEORDER int "Maximum zone order" if ARCH_SHMOBILE_LEGACY range 11 64 if ARCH_SHMOBILE_LEGACY default "12" if SOC_AM33XX - default "9" if SA1111 || ARCH_EFM32 + default "9" if SA1111 || ARCH_EFM32 || ARCH_STM32 default "11" help The kernel memory allocator divides physically contiguous memory