mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mehmet Fide <mehmet.fide@gmail.com>
To: Christian Loehle <christian.loehle@arm.com>
Cc: Ingo Molnar <mingo@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	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>,
	K Prateek Nayak <kprateek.nayak@amd.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH] sched/fair: Skip PELT on !CONFIG_SMP
Date: Sun, 29 Nov 2026 20:32:48 +0100	[thread overview]
Message-ID: <20261129193248.858301-1-mehmet.fide@gmail.com> (raw)
In-Reply-To: <f5f09e6d-a69e-497f-a740-a24849b75b6c@arm.com>

Hi Christian,

> We can still use them for DVFS, i.e. schedutil, can't we?

Not with CONFIG_SMP=n: CPU_FREQ_GOV_SCHEDUTIL still depends on SMP, so
such a kernel has no schedutil. If that dependency is dropped, the
skip would have to follow schedutil instead of SMP.

> Besides, the entire point of the commit was to get rid of the SMP ifdeffery
> and this is introducing them in a worse way.

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?

Mehmet

  reply	other threads:[~2026-11-29 19:32 UTC|newest]

Thread overview: 4+ 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 [this message]
2026-11-29 19:53     ` Christian Loehle

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=20261129193248.858301-1-mehmet.fide@gmail.com \
    --to=mehmet.fide@gmail.com \
    --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=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®