]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Fix domain iteration
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 31 May 2012 12:47:33 +0000 (14:47 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Jun 2012 14:52:26 +0000 (16:52 +0200)
commit5457098cf890e884d34df8463cedadc5f97ce004
tree7e2ea14ba9421bddd63e1810716f1929c753e28b
parent4844f04ae616246ec047db6b9995988c54d47fbd
sched: Fix domain iteration

Weird topologies can lead to asymmetric domain setups. This needs
further consideration since these setups are typically non-minimal
too.

For now, make it work by adding an extra mask selecting which CPUs
are allowed to iterate up.

The topology that triggered it is the one from David Rientjes:

10 20 20 30
20 10 20 20
20 20 10 20
30 20 20 10

resulting in boxes that wouldn't even boot.

Reported-by: David Rientjes <rientjes@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-3p86l9cuaqnxz7uxsojmz5rm@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/sched.h