Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1737028rwn; Fri, 9 Sep 2022 03:20:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR43dYqgd0cN8EMcOokw1O2K2RD55ddPmkQ8vj6FpKH+bvht0ejqwOOFiovK7LCylal4e4ub X-Received: by 2002:a17:90b:264a:b0:1fd:f88d:dbad with SMTP id pa10-20020a17090b264a00b001fdf88ddbadmr9047453pjb.93.1662718843489; Fri, 09 Sep 2022 03:20:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662718843; cv=pass; d=google.com; s=arc-20160816; b=QxJWThmw/IbVmSoC0YE7eBTZOUJ+6mDPtf6RnDunmT32PRZWWQcbZ2KKgphgkyplSx +9NiCphtl3RvOLWV0BCXKFm4ntiPCvemH/3N4KWqeDTo7Rt/taAfGlM2/wd+3g1Kuw1U U5lWFl0BMKwCISvmJmNB+qOUA9MFX8B7+CuiZCYM9sroIzri/19Z2c/yAMobSc6b2OMu IDSu7KCKpTUmJgyOInCVdlC/cDTZ8hlO31bPrD3ffNDIxeUm6Foq5Wui57qqP9BVLcNk t+Jq0mCfIfbGDsaJg8Z6DeNdSl0Ojxo7iFns36vPTU0gSkEM1FFjNTd+A87Ksr/orAwH lpHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=HEcJPi4IHwRqO90LgmNp/TvlhR1DzQakJL9Wwot/XIU=; b=RJHHbqe2niupweHXewCXH3YBtPK8AKoDT3vB6WNgRVqbpIL45t+R0nIOFtsrFQKD+Q WP9ZVCqx9uhZb+KIp0eV7WMW+mFlvKdUsk3m355FoQ3R+fftGs6Gox6iRgBnGYxr4OSE l4pix6VnWo0rhTadmNOhgwer4rejfwyNpuYiCOb8s7tKIv/letimkdPC9rybLjXGuDUB YKeXSqmZSkS1jZSO48pwN0jINhw1BQd3ztFF+bWU9k1Xy7nR6IKH3bPJm1naCsGM7Hnn wdVtZ4l0UZPa+rc+GaktqBrfT9RdBDeum/vRJR2c9fNqNh/KrjsvSxKQGHjzDtHw6ax0 8GoA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-onmicrosoft-com header.b=F0y74jjJ; arc=pass (i=1 spf=pass spfdomain=nokia.com dmarc=pass fromdomain=nokia.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a2-20020a631a02000000b0041dd0c35c54si175180pga.47.2022.09.09.03.20.30; Fri, 09 Sep 2022 03:20:43 -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; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-onmicrosoft-com header.b=F0y74jjJ; arc=pass (i=1 spf=pass spfdomain=nokia.com dmarc=pass fromdomain=nokia.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232125AbiIIJdd (ORCPT + 99 others); Fri, 9 Sep 2022 05:33:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232006AbiIIJdC (ORCPT ); Fri, 9 Sep 2022 05:33:02 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60137.outbound.protection.outlook.com [40.107.6.137]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFA6D12169F; Fri, 9 Sep 2022 02:30:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VdQ8z3Yb2sIb6MaZejIhaHp4+VQ3jdOkHJd+QXevLG0UasN+2kt+Xd0bW541rrsrF/J612lzUq64fQZcVIgXhPOBIs/1yRXVoH4jIb94C/vxF8suJaXGW8uceWJCxmBvLbF5T/HFvctJepHxULljWS02e9R5kx4ylUJlpet0qyHyAvR5dUNplsXlUxBeLjnClJNCa88pJIeraNUjHmMHJ1K+8jK/3EdLilVN115gx3e2s4vwuw/SrQslT6yMMOyOTlVtLCvSl0shuz71PkgrRM5qiMgpgkq7LeQtfZZCtwhGcLe/Nahb20hHVst11ZWwbn4/5wrhyOaAsqWW6xscYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HEcJPi4IHwRqO90LgmNp/TvlhR1DzQakJL9Wwot/XIU=; b=W2fo+TpkmSAaUtXkPEJPhvv6ECk1Wc/wxaWzLZF5jcWcCSHgfXK+OakeSSFIE+fVfaMlKUyvYnFm17H9Rp231I9xiRQD9R3XvcvqpHnINwQjUovxTWaJbWn8w3n58f2duXGfg2I9hcnXq2F85WqORSSDojhdAzlU4Q0ViTm1zbo8NYTjhaT5mL3IJxuKze5jm85mQMbsbl1UimxEMAXmjruFuWNg4XrkF6uG2f1pGtWZFmFuluG37ZIadH4GJOAjWxLkQlFZFYmcQR4qCmr4Zbv3SN0h/JoKYqrdeRTryjckM9bZjurrwDs/K+QUme49jrfimNH3v45HGC937BMkyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 131.228.2.8) smtp.rcpttodomain=alpha.franken.de smtp.mailfrom=nokia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nokia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HEcJPi4IHwRqO90LgmNp/TvlhR1DzQakJL9Wwot/XIU=; b=F0y74jjJcxfCGf92LCyNSF6XUdFSG3owJUY15EWPj/M87JtSlrbUQNL6bDeCwbDQ41+opIcfeS+EKCb9FQ3+iD0w4proe+5ULq6PchnBfay2hidXoLynCaLzg3bJlA6uMQ4cdj2fT0svnnZ2Iw7fhW1IyfOcVBVDAkcpwF2Iw+w= Received: from DU2P250CA0025.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:231::30) by PR3PR07MB6682.eurprd07.prod.outlook.com (2603:10a6:102:6c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.16; Fri, 9 Sep 2022 09:30:47 +0000 Received: from DBAEUR03FT030.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:231:cafe::61) by DU2P250CA0025.outlook.office365.com (2603:10a6:10:231::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.20 via Frontend Transport; Fri, 9 Sep 2022 09:30:47 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 131.228.2.8) smtp.mailfrom=nokia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nokia.com; Received-SPF: Pass (protection.outlook.com: domain of nokia.com designates 131.228.2.8 as permitted sender) receiver=protection.outlook.com; client-ip=131.228.2.8; helo=fihe3nok0734.emea.nsn-net.net; pr=C Received: from fihe3nok0734.emea.nsn-net.net (131.228.2.8) by DBAEUR03FT030.mail.protection.outlook.com (100.127.142.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.13 via Frontend Transport; Fri, 9 Sep 2022 09:30:46 +0000 Received: from ulegcparamis.emea.nsn-net.net (ulegcparamis.emea.nsn-net.net [10.151.74.146]) by fihe3nok0734.emea.nsn-net.net (GMO) with ESMTP id 2899UjHn027590; Fri, 9 Sep 2022 09:30:45 GMT From: Alexander A Sverdlin To: linux-mips@vger.kernel.org Cc: Alexander Sverdlin , linux-kernel@vger.kernel.org, Thomas Bogendoerfer Subject: [PATCH v2] mips: Select SPARSEMEM_EXTREME Date: Fri, 9 Sep 2022 11:30:42 +0200 Message-Id: <20220909093042.23071-1-alexander.sverdlin@nokia.com> X-Mailer: git-send-email 2.10.2 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DBAEUR03FT030:EE_|PR3PR07MB6682:EE_ MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 116805ed-0c98-427b-e8e2-08da9245f9f3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WilyZ46ytDORKthrWfUdmOVVJzx/fF6J0SyjMcX/RvGW9IQlH4rzaZSvR5VzTOYcViNHWCgGCoAhBnAxaAKlY+o0lqDuZdPmatGmxFy7QyIl5vwnXisIa2w4u9QC0DpTLwnAj4CWPShCtmHZPosRUu0sU6bXvKMvViVnmoiFhoW2XKJZkEPnCMoXICCLNfh50/TdE25jwwEnq7HR0Md2KeQlhes6GHw/Ewb/k3/xSr3EL5buLxeI/pmyV3K1h5T56c2zBwu50N0Z3OxmOwok/DhPSxSdat902RvIqaGw4uIv9HdfJnLVsbgMn7AUcJZ8lOqIUC8LknI2RZV5/Cj/CSJa9ep+eujdBYXh2QJ7j5M0EtddmBy0/N7djhJRn5pqGacsDjPvqU3uLagSfrtsmSt6N0XB/rsaF6sXyzvrS/osrjFCNYcfyLS0SD0hxUzF8FuZhtytNXB/k6EAW8YijtfjlZleq5CODaOy3e+22IewRlYgwgJ+ctmzQC1jV/SSXIekLYAkV+Q1OZhrX9boPwzK1NKMftQM8e8fA/di45tQ8mk2xtfR/gIcqLx5jnbxVaRIhNuhMGBs5zeHgVEA1lxmlWkZxz+uzXZGSdSt02DSE4nmVWUMNi26qIVTAAWyNWY+MnVbDwyP6oQakL1igGSz/UDWObRDRv/TzB4/kRZnUha1eA2z7H7+E9ZmGosXiANaDZ/ZmOyHXJ0KXnz4Mp0q+Cv+0DzrrMyX2eLZMr6mmQWr/VwY3GjlqZfR+fBYRYPp4fpmR0/RYUZphpLXH4jNkqsXtBnZQwzXvttm0jQ= X-Forefront-Antispam-Report: CIP:131.228.2.8;CTRY:FI;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:fihe3nok0734.emea.nsn-net.net;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(136003)(376002)(346002)(39860400002)(396003)(40470700004)(46966006)(36840700001)(26005)(478600001)(6666004)(41300700001)(83380400001)(186003)(1076003)(47076005)(4744005)(2906002)(8936002)(2616005)(5660300002)(82310400005)(316002)(336012)(40480700001)(54906003)(6916009)(40460700003)(356005)(70586007)(8676002)(70206006)(82960400001)(4326008)(81166007)(36756003)(86362001)(82740400003)(36860700001)(36900700001);DIR:OUT;SFP:1102; X-OriginatorOrg: nokia.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR07MB6682 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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