linux-kernel-test/kernel/sched
Suresh Siddha 77e81365e0 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 <suresh.b.siddha@intel.com>
Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1321556904.15339.25.camel@sbsiddha-desk.sc.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-12-06 08:51:25 +01:00
..
auto_group.c
auto_group.h
clock.c
core.c
cpupri.c
cpupri.h
debug.c
fair.c sched: Clean up domain traversal in select_idle_sibling() 2011-12-06 08:51:25 +01:00
features.h
idle_task.c
Makefile
rt.c
sched.h sched: Clean up domain traversal in select_idle_sibling() 2011-12-06 08:51:25 +01:00
stats.c
stats.h
stop_task.c