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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4F289C3DA79 for ; Mon, 15 Jan 2024 15:39:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eC/KE9Mi34SLGeclMp3PnSMbWiVnvsUXUGRnYIie3fs=; b=0cuMxJlox3Nul5 Rp23wIWs71HqVJr9EH7cWaN8P2OxdTIq7u2SSkzOK/LIRByypuN0rNGNCdic04u66D+DMuzTEmf7m rn8vGSXneb3M4EqhGtuNBzr1AsMswJgBLkZvA2UYfgbxwkSlbCUWkLrXvoWtaG8B0NytoLBzzZeis MOXTmyRbweTM3FZ1hgGPENSIMPPsKVtHSCSuiavwFUI40ZUccEdaSZ+H+SjSNtOga0mB8zWM5KfdJ CwLW+tccmePEO+UnY8x2Lg1TLWRYDpPWtmgWDQD9HrQ55Hn7DayFQBxcpYRw1ekk7DFv8ot8rL1dc YbeY59BO8cG7rcrgPMyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rPP3V-009R5s-1R; Mon, 15 Jan 2024 15:39:17 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rPP3S-009R3c-0s for linux-arm-kernel@lists.infradead.org; Mon, 15 Jan 2024 15:39:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vca8iHXjvx6ztiPlpy6hQMT//Mi2gmGf4is7seIfbys=; b=XCQfBpQKZngHjvlBVESIc86brt vTkq4l1ip+CFF6LRkAeRRjtdSs/7zrkoDb+havr/JEUNz1IWft0tCbe4EXKR5ZoQu7VSs/zaxOcL3 qwma/q46xM1fSlh4NVtO6iDvbPgiGDs7MavHEfrgYgFVvSS5cotGRSWZSxeuaL8KBtJtyg7TAN9+T xIjd2z+BI1NrTzNZGoIoI7/UsKNdojDw6bJfMfYrrC8TRPRUpqG/vFKRNeAZCKfclQnTP3N3P5skA qHi1ym2QciFsSK8seffAg7lg5I/7b7HapWBoZa4j3eNr6+ZvWvsLazUX6HVGA0kRAAbnUYWMOITe3 8h9Vtp0Q==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:53076) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rPP3I-0002Wd-2a; Mon, 15 Jan 2024 15:39:04 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rPP3E-00033W-BK; Mon, 15 Jan 2024 15:39:00 +0000 Date: Mon, 15 Jan 2024 15:39:00 +0000 From: "Russell King (Oracle)" To: "Christoph Lameter (Ampere)" Cc: Anshuman Khandual , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Valentin.Schneider@arm.com, Vanshidhar Konda , Jonathan Cameron , Catalin Marinas , Robin Murphy , Dave Kleikamp , Matteo Carlini , akpm@linux-foundation.org, yang@os.amperecomputing.com Subject: Re: [PATCH] ARM64: Dynamically allocate cpumasks and increase supported CPUs to 512 Message-ID: References: <794a1211-630b-3ee5-55a3-c06f10df1490@linux.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <794a1211-630b-3ee5-55a3-c06f10df1490@linux.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240115_073914_308444_05DFB778 X-CRM114-Status: GOOD ( 13.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Dec 14, 2023 at 04:05:56PM -0800, Christoph Lameter (Ampere) wrote: > Index: linux/arch/arm64/Kconfig > =================================================================== > --- linux.orig/arch/arm64/Kconfig > +++ linux/arch/arm64/Kconfig > @@ -1407,7 +1407,21 @@ config SCHED_SMT > config NR_CPUS > int "Maximum number of CPUs (2-4096)" > range 2 4096 I think your mailer got to your patch and messed up the white space. There are two spaces before each of these lines rather than the usual one. > - default "256" > + default 512 > + > +# > +# Determines the placement of cpumasks. > +# > +# With CPUMASK_OFFSTACK the cpumasks are dynamically allocated. > +# Useful for machines with lots of core because it avoids increasing > +# the size of many of the data structures in the kernel. > +# > +# If this is off then the cpumasks have a static sizes and are > +# embedded within data structures. > +# > +config CPUMASK_OFFSTACK > + def_bool y > + depends on NR_CPUS > 256 Should that be ">= 256" ? > > config HOTPLUG_CPU > bool "Support for hot-pluggable CPUs" Same here. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel