Re: [PATCH v3 2/4] sched/fair: Skip misfit load accounting when the destination CPU cannot help

From: Chen, Yu C

Date: Fri May 15 2026 - 08:53:59 EST


On 5/15/2026 2:34 AM, Ricardo Neri wrote:

+ if (rq->misfit_task_load) {
+ /*
+ * Always mark the domain overloaded so big CPUs
+ * can pick up misfit tasks via newly idle
+ * balance.
+ */
*sg_overloaded = 1;

if (balancing_at_rd)
*sg_overloaded = 1
to avoid confusing non-root domain(although in current code only
root domain checks this)

But the original logic does not have this check, it should be OK.

Reviewed-by: Chen Yu <yu.c.chen@xxxxxxxxx>

thanks,
Chenyu