Re: [PATCH v4 11/11] sched/fair: rework find_idlest_group
From: Valentin Schneider
Date: Mon Nov 25 2019 - 06:13:05 EST
On 25/11/2019 09:59, Vincent Guittot wrote:
>>> + case group_imbalanced:
>>> + case group_asym_packing:
>>> + /* Those type are not used in the slow wakeup path */
>>> + return NULL;
>>
>> I suppose group_asym_packing could be handled similarly to misfit, right?
>> i.e. make the group type group_asym_packing if
>>
>> !sched_asym_prefer(sg.asym_prefer_cpu, local.asym_prefer_cpu)
>
> Unlike group_misfit_task that was somehow already taken into account
> through the comparison of spare capacity, group_asym_packing was not
> considered at all in find_idlest_group so I prefer to stay
> conservative and wait for users of asym_packing to come with a need
> before adding this new mechanism.
>
Right, makes sense.