Re: [PATCH v3 3/3] sched/fair: Drop the active CPU check from unthrottle_offline_cfs_rqs()

From: Qiliang Yuan

Date: Mon Nov 23 2026 - 02:48:42 EST


On Mon, Nov 23, 2026 at 03:28:38PM +0800, Li kunyu wrote:
> > - // Do not unthrottle for an active CPU
> > - if (cpumask_test_cpu(cpu_of(rq), cpu_active_mask))
> > - return;
> > -
>
> Per patch 2, this check is no longer needed.

Right. With patch 2, set_rq_offline() only runs for CPUs that already
left cpu_active_mask: sched_cpu_deactivate() clears it first, and
rq_attach_root() only takes inactive CPUs offline.

Thanks for reviewing the series.

Thanks,
Qiliang