From: Catalin Marinas <catalin.marinas@arm.com>
To: Suchit Karunakaran <suchitkarunakaran@gmail.com>
Cc: will@kernel.org, linux-arm-kernel@lists.infradead.org,
skhan@linuxfoundation.org, linux-kernel-mentees@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: allow NR_CPUS=1 for non-SMP and adjust default accordingly
Date: Fri, 25 Jul 2025 09:36:03 +0100 [thread overview]
Message-ID: <aINB80UeE9pqKvrC@arm.com> (raw)
In-Reply-To: <20250724165639.13926-1-suchitkarunakaran@gmail.com>
On Thu, Jul 24, 2025 at 10:26:39PM +0530, Suchit Karunakaran wrote:
> The arm64 Kconfig for NR_CPUS previously required a minimum of 2 CPUs.
> This patch changes the minimum allowed CPUs to 1, enabling single-core
> non-SMP configurations.
Do you have such single-core system?
> config NR_CPUS
> - int "Maximum number of CPUs (2-4096)"
> - range 2 4096
> - default "512"
> + int "Maximum number of CPUs (1-4096)"
> + range 1 4096
> + default "1" if !SMP
> + default "512" if SMP
It's been some time since we forced CONFIG_SMP always on for arm64.
--
Catalin
next prev parent reply other threads:[~2025-07-25 8:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-24 16:56 Suchit Karunakaran
2025-07-25 2:16 ` Anshuman Khandual
2025-07-25 4:06 ` Suchit K
2025-07-25 8:36 ` Catalin Marinas [this message]
2025-07-25 8:42 ` Suchit K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aINB80UeE9pqKvrC@arm.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel-mentees@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=suchitkarunakaran@gmail.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®