On Mon, Jul 08, 2019 at 10:24:30AM +0530, Parth Shah wrote:The most relevant bit of this was folding select_idle_core and
When searching for an idle_sibling, scheduler first iterates to search forHave you seen these patches:
an idle core and then for an idle CPU. By maintaining the idle CPU mask
while iterating through idle cores, we can mark non-idle CPUs for which
idle CPU search would not have to iterate through again. This is especially
true in a moderately load system
Optimize idle CPUs search by marking already found non idle CPUs during
idle core search. This reduces iteration count when searching for idle
CPUs, resulting in lower iteration count.
https://lkml.kernel.org/r/20180530142236.667774973@xxxxxxxxxxxxx
I've meant to get back to that, but never quite had the time :/