Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756044AbbHYUgc (ORCPT ); Tue, 25 Aug 2015 16:36:32 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:49396 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751315AbbHYUga (ORCPT ); Tue, 25 Aug 2015 16:36:30 -0400 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Maxime Coquelin , olof@lixom.net, khilman@kernel.org, afaerber@suse.de, Russell King , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: stm32: Reduce FORCE_MAX_ZONEORDER to 9 Date: Tue, 25 Aug 2015 22:36:22 +0200 Message-ID: <3551937.qa4lRhD8e3@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1440533237-5831-1-git-send-email-mcoquelin.stm32@gmail.com> References: <1440533237-5831-1-git-send-email-mcoquelin.stm32@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:XlCWZsT6TPkMGT54/cJfTc/030TY8QWxmxQwIs1BjY/odiHqCSV GyUUWr5pW/u/eiMRn10bgOQ6r+qg6pu8KTaZDtBaetMZ+p90cWx/VRRfDq+ZDEJeStVnUs8 gyvb3nAel8a+/4MO+LFEhoa4/O1crkdG7lgzbeqVxOdm7/wgGkVGiTge3592EiZZ3DPy+rE kwNwsmB3KpTINc4v84EJA== X-UI-Out-Filterresults: notjunk:1;V01:K0:35/Ge7eYo2k=:Cgticf3PVKdDwEP7uUjrzX +x6mRY5Errb381S+EaF6ahpGSJcywwpUuLk/y+bo9pE9Db1153HrJz7lMjp04vrJ7D8UYCzAc xh7XTxEa9MYQ/MlR/U6haeraSuthfGQsNxw4K80jDKgc1KKgLIbUZCvMLDvr2CJ9SSAFaYBPu IUceRc/KbZazxuLGq2RmLhGeWsg8UoQU1o8oFF7rBv8FpqZYiI6cDLieGVMdqPnVECQ7EgNg1 8G9dr9wighRzX5VT2cdD2xyCpIiTBoWI2ebONjmdTEUGyhPjb8F88+XaJZsXR/ZBMqdjpu9cu DsQrMEkthHZDfx7MoD/6/xdunoQU3J5aUIQIhcyurCY8TZLftKwrbM0zpSajAaMXqPn+GaU/N Xn7DW0iaFpaXTnVYmApl03XNdlrX8QLVv/D1Nw68epzNTFXyk0mW/Q+/dUvec1h7C3MaQFrYY e8oLpjrpO/9aBnBIQEi/0np3s9G6BLsmSFkvVQ7dS+I4vJ7BDpI5vsZbGWt+JieK1g58UPAkp 9guqNVToiyFCoZb1XJdsfGjftfVhSDbXYoAlQACafOJ7W6DenAlQdIc3nNmgTh3def7M7GhFr pOiY3uDi+hhFCpS+vntmispcC8s8czsEQs3D6rqfdnggELkmcYnloXqokZzCeRTJN4vOKd1E/ bol5iHVZ6lxyItqryciCpmObIQYFa+8XRsjRc8tsM/C/p6lmvYtpn7nz0rSVRG1/MT4CZO60L OYAYUyTsi7KVHEF9 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1411 Lines: 33 On Tuesday 25 August 2015 22:07:17 Maxime Coquelin wrote: > 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" > This looks wrong now that we can enable multiple ARMV7M platforms together. In practice it doesn't matter much, because you wouldn't do that for a real-life system, but out of principle this seems like something you'd better put into the defconfig file for both ARCH_EFM32 and ARCH_STM32. We could also think about changing the default to "9" for any ARM_SINGLE_ARMV7M config and increasing it again in defconfig for any platform that actually has a lot of RAM (if any). The SOC_AM33XX is slightly different because it increases the default rather than reducing it, presumably because the larger allocation is actually required (for what?). Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/