Re: [PATCH] cpufreq: schedutil: Allow use on UP kernels
From: Peter Zijlstra
Date: Thu Dec 03 2026 - 10:27:07 EST
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?