Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2156643rwn; Fri, 9 Sep 2022 09:15:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR4y6HFspK+buJcEvwZaEe4QFcq1ok7OFzlfvpHZurTJYLHQzlRMg3GEq3t10980eC6o1Pa1 X-Received: by 2002:a65:464a:0:b0:434:883:ea21 with SMTP id k10-20020a65464a000000b004340883ea21mr13390442pgr.152.1662740116814; Fri, 09 Sep 2022 09:15:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662740116; cv=none; d=google.com; s=arc-20160816; b=MNyPmFY/NJEJmMhEzZ8P6leo5XjRCLt/RhNpncEkfnTkyRlZ6nEVrt88Jdpp+5v56B U+2bhfNVage/ZBjOfMjJRG9CDJ9Ha1VPqi1A0KNafLerzSyOGiNRKIbmzn2WC04FEntG XmqPXuLvXs/89fjVw2U2Yw1mMWSRA+YBj/6w4ytGHDsCwilKJh3ga85LQFMr9MttIEnh Z3oOnikLcV/7hJMI7CJOt4SWEB05z2txUeUSJ5zoDovmTm3udAKyilymgvSZbiO5EZjp m7mpixK5asvZLmJlRStlVdpRX/L/pd7Jhw0zkWl6DjK3j/S1Nb9EVMDD144JaPEU2ZK3 +fag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=4dtXzEu6oI5puyrELn0X9IyQWLwNLvBOqobRfoQh3B0=; b=K+wlmxL8qwLwOLsmUMCPXShKa1cWBNjNGbHeRZ1e+iQRh2u9bWtUyBKPmGFyEP9kko kneEnsrsFi2LEgCsX3mf3lM6D9iBXsv0Pda0nlzfeRXJ3HVVGxaxwum34GVAI6+Owdy2 hscsRmkPMVZmlBt5OAB/XL3efzpmQrfquTgKOHRomVEL8KhUmyk27vpsUiTWsHePHmiD rgmlmYa49uH2nCl+kIPFQHefRI93dQe1ZDycFvYLo2CacskRIiWiETpq3fPx+BRhWLsb sOyY9CzbKrVMvxtLYeg5J8jeA4y47eudFNDqkQF4WJ/F2DeiwYO3YRVE/No4ruJzi6al AxBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i124-20020a625482000000b005257035371bsi872408pfb.108.2022.09.09.09.15.04; Fri, 09 Sep 2022 09:15:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229791AbiIIPoi (ORCPT + 99 others); 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) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 ]