summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2008-10-24 11:06:16 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-24 12:51:03 +0200
commit3f3a490480d8ab96e0fe30a41f80f14e6a0c579d (patch)
treeaddbfb1207d816b1e1f5e4ab75f95a08c7b15202 /kernel/sched.c
parent464b75273f64be7c81fee975bd6ca9593df3427b (diff)
downloadop-kernel-dev-3f3a490480d8ab96e0fe30a41f80f14e6a0c579d.zip
op-kernel-dev-3f3a490480d8ab96e0fe30a41f80f14e6a0c579d.tar.gz
sched: virtual time buddy preemption
Since we moved wakeup preemption back to virtual time, it makes sense to move the buddy stuff back as well. The purpose of the buddy scheduling is to allow a quickly scheduling pair of tasks to run away from the group as far as a regular busy task would be allowed under wakeup preemption. This has the advantage that the pair can ping-pong for a while, enjoying cache-hotness. Without buddy scheduling other tasks would interleave destroying the cache. Also, it saves a word in cfs_rq. 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>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 12bc367..e8819bc 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -386,7 +386,6 @@ struct cfs_rq {
u64 exec_clock;
u64 min_vruntime;
- u64 pair_start;
struct rb_root tasks_timeline;
struct rb_node *rb_leftmost;
OpenPOWER on IntegriCloud