sched: fix buddie group latency
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 28 Jan 2009 13:51:40 +0000 (14:51 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 1 Feb 2009 09:49:51 +0000 (10:49 +0100)
commita571bbeafbcc501d9989fbce1cddcd810bd51d71
treecbfc71ece2ae3e351424d5f7ca9d8fff2429827b
parenta9f3e2b549f83a9cdab873abf4140be27c05a3f2
sched: fix buddie group latency

Similar to the previous patch, by not clearing buddies we can select entities
past their run quota, which can increase latency. This means we have to clear
group buddies as well.

Do not use the group clear for pick_next_task(), otherwise that'll get O(n^2).

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