Re: [PATCH v3 08/20] sched/fair: load balance only among preferred CPUs
From: Peter Zijlstra
Date: Tue Jun 09 2026 - 07:24:37 EST
On Thu, Jun 04, 2026 at 06:37:48PM +0530, Shrikanth Hegde wrote:
> Hi Prateek.
>
> On 6/4/26 11:39 AM, K Prateek Nayak wrote:
> > Hello Shrikanth,
> >
> > ... just moving set_cpu_preferred() into sched_cpu_activate() and
> > sched_cpu_deactivate() instead of doing it at set_cpu_online().
> >
>
> Ah ok. Will move it there. I think this should be ok.
Right, such that preferred is a strict subset of active.
preferred ⊆ active ⊆ online ⊆ present ⊆ possible