Re: [PATCH v5 3/6] sched/fair: Optimize checking for group_asym_packing

2021-09-17 Thread Vincent Guittot
On Sat, 11 Sept 2021 at 03:19, Ricardo Neri wrote: > > sched_asmy_prefer() always returns false when called on the local group. By > checking local_group, we can avoid additional checks and invoking > sched_asmy_prefer() when it is not needed. No functional changes are > introduced. > > Cc: Aubrey

[PATCH v5 3/6] sched/fair: Optimize checking for group_asym_packing

2021-09-10 Thread Ricardo Neri
sched_asmy_prefer() always returns false when called on the local group. By checking local_group, we can avoid additional checks and invoking sched_asmy_prefer() when it is not needed. No functional changes are introduced. Cc: Aubrey Li Cc: Ben Segall Cc: Daniel Bristot de Oliveira Cc: Dietmar