diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-06-27 15:41:16 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-27 16:31:31 +0400 |
commit | 103638d95ba5b0c53c8d9c0cb581156ccc8513ee (patch) | |
tree | 56d78e3e00780e044ef7688f27c93ece813035c1 /kernel/sched.c | |
parent | 76a2a6ee8a0660a29127f05989ac59ae1ce865fa (diff) | |
download | linux-103638d95ba5b0c53c8d9c0cb581156ccc8513ee.tar.xz |
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.c | 1 |
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 { u64 exec_clock; u64 min_vruntime; + u64 pair_start; struct rb_root tasks_timeline; struct rb_node *rb_leftmost; |