Linux Power Management development
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: K Prateek Nayak <kprateek.nayak@amd.com>
Cc: Vincent Guittot <vincent.guittot@linaro.org>,
	Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>,
	Christian Loehle <christian.loehle@arm.com>,
	Ingo Molnar <mingo@redhat.com>,
	Juri Lelli <juri.lelli@redhat.com>,
	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,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	"open list:CPU FREQUENCY SCALING FRAMEWORK"
	<linux-pm@vger.kernel.org>
Subject: Re: [PATCH] cpufreq: schedutil: Allow use on UP kernels
Date: Thu, 3 Dec 2026 16:26:49 +0100	[thread overview]
Message-ID: <20261203152649.GE677025@noisy.programming.kicks-ass.net> (raw)
In-Reply-To: <ece8c6c4-c718-4d60-a0e1-6d0aaf51844b@amd.com>

On Tue, Dec 01, 2026 at 01:38:31PM +0530, K Prateek Nayak wrote:
> Hello Vincent,
> 
> On 12/1/2026 1:06 PM, Vincent Guittot wrote:
> >>> @@ -15073,8 +15082,11 @@ void sched_balance_trigger(struct rq *rq)
> >>>          * Don't need to rebalance while attached to NULL domain or
> >>>          * runqueue CPU is not active
> >>>          */
> >>> -       if (unlikely(on_null_domain(rq) || !cpu_active(cpu_of(rq))))
> >>> +       if (unlikely(on_null_domain(rq) || !cpu_active(cpu_of(rq)))) {
> >>> +               if (rq->has_blocked_load)
> >>> +                       sched_balance_update_blocked_averages(cpu_of(rq));
> > 
> > Why not simply trigger the softirq ? We already have the periodic
> > update filtering in place
> 
> Ack! That should work too. I was overthinking this.

I'll await v2 of this?

      reply	other threads:[~2026-12-03 15:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261129201053.80590-1-christian.loehle@arm.com>
2026-11-30 13:36 ` [PATCH] cpufreq: schedutil: Allow use on UP kernels Vincent Guittot
2026-11-30 13:44 ` Zhongqiu Han
2026-12-01  3:48   ` K Prateek Nayak
2026-12-01  7:16     ` Vincent Guittot
2026-12-01  7:36       ` Vincent Guittot
2026-12-01  8:08         ` K Prateek Nayak
2026-12-03 15:26           ` Peter Zijlstra [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=20261203152649.GE677025@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=linux-pm@vger.kernel.org \
    --cc=mehmet.fide@gmail.com \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=rafael@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=vincent.guittot@linaro.org \
    --cc=viresh.kumar@linaro.org \
    --cc=vschneid@redhat.com \
    --cc=zhongqiu.han@oss.qualcomm.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