From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56A4FECAAD3 for ; Fri, 9 Sep 2022 15:44:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231431AbiIIPoi (ORCPT ); Fri, 9 Sep 2022 11:44:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230458AbiIIPof (ORCPT ); Fri, 9 Sep 2022 11:44:35 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 10DB81AD9A; Fri, 9 Sep 2022 08:44:33 -0700 (PDT) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1oWgBE-0006oI-00; Fri, 09 Sep 2022 17:44:32 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id C4157C0F22; Fri, 9 Sep 2022 17:44:22 +0200 (CEST) Date: Fri, 9 Sep 2022 17:44:22 +0200 From: Thomas Bogendoerfer To: Alexander A Sverdlin Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mips: Select SPARSEMEM_EXTREME Message-ID: <20220909154422.GA15019@alpha.franken.de> References: <20220909093042.23071-1-alexander.sverdlin@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220909093042.23071-1-alexander.sverdlin@nokia.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 09, 2022 at 11:30:42AM +0200, Alexander A Sverdlin wrote: > From: Alexander Sverdlin > > Commit c46173183657 ("MIPS: Add NUMA support for Loongson-3") has increased > .bss size of the Octeon kernel from 16k to 16M. Providing the conditions > for SPARSEMEM_EXTREME avoids the waste of memory. > > Thomas has tested the loogsoon64 kernel, where .bss is being reduced by > this patch from 16.5M to 515k. > > Cc: Thomas Bogendoerfer > Signed-off-by: Alexander Sverdlin > --- > arch/mips/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > index ec21f89..25dd4c5 100644 > --- a/arch/mips/Kconfig > +++ b/arch/mips/Kconfig > @@ -2669,7 +2669,6 @@ config ARCH_FLATMEM_ENABLE > > config ARCH_SPARSEMEM_ENABLE > bool > - select SPARSEMEM_STATIC if !SGI_IP27 > > config NUMA > bool "NUMA Support" > -- > 2.10.2 thank for the change, applied to mips-fixes. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]