aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-11-30 07:00:37 -0500
committerIngo Molnar <mingo@elte.hu>2009-12-09 04:03:07 -0500
commit6cecd084d0fd27bb1e498e2829fd45846d806856 (patch)
tree90cc079c942ad35669d1a33957a121c1cb3a88a6 /kernel/sched_fair.c
parent3a7e73a2e26fffdbc46ba95fc0425418984f5140 (diff)
sched: Discard some old bits
WAKEUP_RUNNING was an experiment, not sure why that ever ended up being merged... Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 76b5792c4198..e9f5daee12c7 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -1689,9 +1689,6 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_
1689 pse->avg_overlap < sysctl_sched_migration_cost) 1689 pse->avg_overlap < sysctl_sched_migration_cost)
1690 goto preempt; 1690 goto preempt;
1691 1691
1692 if (sched_feat(WAKEUP_RUNNING) && pse->avg_running < se->avg_running)
1693 goto preempt;
1694
1695 if (!sched_feat(WAKEUP_PREEMPT)) 1692 if (!sched_feat(WAKEUP_PREEMPT))
1696 return; 1693 return;
1697 1694