From: K Prateek Nayak <kprateek.nayak@amd.com>
To: Christian Loehle <christian.loehle@arm.com>,
Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Juri Lelli <juri.lelli@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>,
Steven Rostedt <rostedt@goodmis.org>,
Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
Valentin Schneider <vschneid@redhat.com>, <mehmet.fide@gmail.com>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] cpufreq: schedutil: Allow use on UP kernels
Date: Mon, 30 Nov 2026 09:16:22 +0530 [thread overview]
Message-ID: <0411e39f-4561-4cda-84f9-0bd48f0c489d@amd.com> (raw)
In-Reply-To: <20261129201053.80590-1-christian.loehle@arm.com>
Hello Chris,
On 11/30/2026 1:40 AM, Christian Loehle wrote:
> Schedutil was restricted to SMP when the scheduler did not provide
> utilization data on UP. Commit cac5cefbade9 ("sched/smp: Make SMP
> unconditional") enabled PELT accounting on UP, but schedutil's Kconfig
> restrictions remained.
>
> Allow UP kernels to build and select schedutil, including as their
> default governor. Keep the existing performance default for ARM UP by
> selecting schedutil automatically only on SMP.
>
> Signed-off-by: Christian Loehle <christian.loehle@arm.com>
I can see schedutil running with all its glory on my UP server :-)
Feel free to include:
Reviewed-by: K Prateek Nayak <kprateek.nayak@amd.com>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
> ---
> drivers/cpufreq/Kconfig | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
> index edc1299098d4..da6dd2acb3ce 100644
> --- a/drivers/cpufreq/Kconfig
> +++ b/drivers/cpufreq/Kconfig
> @@ -37,7 +37,7 @@ config CPU_FREQ_STAT
> choice
> prompt "Default CPUFreq governor"
> default CPU_FREQ_DEFAULT_GOV_USERSPACE if ARM_SA1110_CPUFREQ
> - default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if ARM64 || ARM
> + default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if (ARM64 || ARM) && SMP
> default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if (X86_INTEL_PSTATE || X86_AMD_PSTATE) && SMP
> default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
> help
> @@ -97,7 +97,6 @@ config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
>
> config CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
> bool "schedutil"
> - depends on SMP
> select CPU_FREQ_GOV_SCHEDUTIL
> select CPU_FREQ_GOV_PERFORMANCE
> help
> @@ -187,7 +186,6 @@ config CPU_FREQ_GOV_CONSERVATIVE
>
> config CPU_FREQ_GOV_SCHEDUTIL
> bool "'schedutil' cpufreq policy governor"
> - depends on SMP
> select CPU_FREQ_GOV_ATTR_SET
> select IRQ_WORK
> help
--
Thanks and Regards,
Prateek
prev parent reply other threads:[~2026-11-30 3:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 20:10 Christian Loehle
2026-11-30 3:46 ` K Prateek Nayak [this message]
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=0411e39f-4561-4cda-84f9-0bd48f0c489d@amd.com \
--to=kprateek.nayak@amd.com \
--cc=bsegall@google.com \
--cc=christian.loehle@arm.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mehmet.fide@gmail.com \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
/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®