diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-11-30 13:00:37 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-09 10:03:07 +0100 |
commit | 6cecd084d0fd27bb1e498e2829fd45846d806856 (patch) | |
tree | 90cc079c942ad35669d1a33957a121c1cb3a88a6 /kernel/sched_fair.c | |
parent | sched: Clean up check_preempt_wakeup() (diff) | |
download | linux-6cecd084d0fd27bb1e498e2829fd45846d806856.tar.xz linux-6cecd084d0fd27bb1e498e2829fd45846d806856.zip |
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.c | 3 |
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_ pse->avg_overlap < sysctl_sched_migration_cost) goto preempt; - if (sched_feat(WAKEUP_RUNNING) && pse->avg_running < se->avg_running) - goto preempt; - if (!sched_feat(WAKEUP_PREEMPT)) return; |