aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2008-06-27 07:41:16 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-27 08:31:31 -0400
commit103638d95ba5b0c53c8d9c0cb581156ccc8513ee (patch)
tree56d78e3e00780e044ef7688f27c93ece813035c1 /kernel/sched.c
parent76a2a6ee8a0660a29127f05989ac59ae1ce865fa (diff)
sched: fix wakeup granularity and buddy granularity
Uncouple buddy selection from wakeup granularity. The initial idea was that buddies could run ahead as far as a normal task can - do this by measuring a pair 'slice' just as we do for a normal task. This means we can drop the wakeup_granularity back to 5ms. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> Cc: Mike Galbraith <efault@gmx.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index eb3454c410fa..7d282c52bd42 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -375,6 +375,7 @@ struct cfs_rq {
375 375
376 u64 exec_clock; 376 u64 exec_clock;
377 u64 min_vruntime; 377 u64 min_vruntime;
378 u64 pair_start;
378 379
379 struct rb_root tasks_timeline; 380 struct rb_root tasks_timeline;
380 struct rb_node *rb_leftmost; 381 struct rb_node *rb_leftmost;