sched: fix buddies for group scheduling
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 4 Nov 2008 20:25:10 +0000 (21:25 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 5 Nov 2008 09:30:15 +0000 (10:30 +0100)
commit02479099c286894644f8e96c6bbb535ab64662fd
treedf25bc51ddb31a44c91b672311b532de626fadcb
parent4793241be408b3926ee00c704d7da3b3faf3a05f
sched: fix buddies for group scheduling

Impact: scheduling order fix for group scheduling

For each level in the hierarchy, set the buddy to point to the right entity.
Therefore, when we do the hierarchical schedule, we have a fair chance of
ending up where we meant to.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c