From: Peter Zijlstra <peterz@infradead.org>
To: K Prateek Nayak <kprateek.nayak@amd.com>
Cc: Christian Loehle <christian.loehle@arm.com>,
Mehmet Fide <mehmet.fide@gmail.com>,
Ingo Molnar <mingo@redhat.com>,
Juri Lelli <juri.lelli@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
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>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH] sched/fair: Skip PELT on !CONFIG_SMP
Date: Mon, 30 Nov 2026 09:13:48 +0100 [thread overview]
Message-ID: <20261130081348.GJ2668804@noisy.programming.kicks-ass.net> (raw)
In-Reply-To: <4c3bf78f-55e3-411c-92fe-4eabaff6a23c@amd.com>
On Mon, Nov 30, 2026 at 09:24:18AM +0530, K Prateek Nayak wrote:
> Hello Chris, Mehmet,
>
> On 11/30/2026 1:23 AM, Christian Loehle wrote:
> >> I went by the cover letter of the series, which asked for UP
> >> improvements through "well-placed IS_ENABLED(CONFIG_SMP) kind of
> >> toggles". If seven of them in fair.c are too many for 7-22 % on the
> >> round trips of a UP board, is there a form you would accept?
> >>
> >
> > You'll be glad to hear that I don't call the shots here ;)
> > The feeling I get is that scheduler folks dream of dropping support
> > for CONFIG_SMP=n altogether if there was a way that they could...
>
> Peter and Ingo did drop a bunch of CONFIG_SMP specific build handling
> since UP builds were failing frequently from not testing those
> configs enough but I agree that even "well-placed" sprinkling of
> !IS_ENABLED(CONFIG_SMP) is pretty ugly in scheduler path.
>
> Enabling building with schedutil for UP is the right thing to do IMO
> too so ack on that direction.
Right, 99% (probably more) of the Linux kernels out there run SMP. It
makes absolutely no sense to invest in UP. All it generates are (mostly
trivial) build failures that nobody cares about.
Now; there was a patch that make PELT less expensive over-all:
https://patch.msgid.link/18e8d60c92652608.3137322e32332e3235332e313736.371783.0000sendgmr%40google.com
Which is a win for everybody.
next prev parent reply other threads:[~2026-11-30 8:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 19:19 Mehmet Fide
2026-11-29 19:25 ` Christian Loehle
2026-11-29 19:32 ` Mehmet Fide
2026-11-29 19:53 ` Christian Loehle
2026-11-30 3:54 ` K Prateek Nayak
2026-11-30 8:13 ` Peter Zijlstra [this message]
2026-11-30 15:39 ` Mehmet Fide
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=20261130081348.GJ2668804@noisy.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=bsegall@google.com \
--cc=christian.loehle@arm.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mehmet.fide@gmail.com \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--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®