diff options
author | Suresh Siddha <[email protected]> | 2011-11-17 11:08:23 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-12-06 08:51:25 +0100 |
commit | 77e81365e0b7d7479fc444a21cea0cd4def70b45 (patch) | |
tree | edb0aa41e7ca436f3e1097ea5ea9da6ebee4ec81 /tools/perf/scripts/python/check-perf-trace.py | |
parent | b781a602ac745ee3d5d745276f1e1905a2c101f9 (diff) |
sched: Clean up domain traversal in select_idle_sibling()
Instead of going through the scheduler domain hierarchy multiple times
(for giving priority to an idle core over an idle SMT sibling in a busy
core), start with the highest scheduler domain with the SD_SHARE_PKG_RESOURCES
flag and traverse the domain hierarchy down till we find an idle group.
This cleanup also addresses an issue reported by Mike where the recent
changes returned the busy thread even in the presence of an idle SMT
sibling in single socket platforms.
Signed-off-by: Suresh Siddha <[email protected]>
Tested-by: Mike Galbraith <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions