Re: [PATCH 4/4] sched/fair: Return an idle cpu if one is found after a failed search for an idle core

2020-12-08 Thread Vincent Guittot
On Tue, 8 Dec 2020 at 16:35, Mel Gorman wrote: > > select_idle_core is called when SMT is active and there is likely a free > core available. It may find idle CPUs but this information is simply > discarded and the scan starts over again with select_idle_cpu. > > This patch caches information on

[PATCH 4/4] sched/fair: Return an idle cpu if one is found after a failed search for an idle core

2020-12-08 Thread Mel Gorman
select_idle_core is called when SMT is active and there is likely a free core available. It may find idle CPUs but this information is simply discarded and the scan starts over again with select_idle_cpu. This patch caches information on idle CPUs found during the search for a core and uses one