aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2010-03-11 11:17:18 -0500
committerIngo Molnar <mingo@elte.hu>2010-03-11 12:32:52 -0500
commitf2e74eeac03ffb779d64b66a643c5e598145a28b (patch)
tree3e609ce880c06d07e5c605c48789bd6da089ad39 /kernel/sched_fair.c
parent5ca9880c6f4ba4c84b517bc2fed5366adf63d191 (diff)
sched: Remove WAKEUP_SYNC feature
This feature never earned its keep, remove it. Signed-off-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1268301591.6785.42.camel@marge.simson.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 97682f925ed5..1d99535b0928 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -1658,7 +1658,6 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_
1658 struct task_struct *curr = rq->curr; 1658 struct task_struct *curr = rq->curr;
1659 struct sched_entity *se = &curr->se, *pse = &p->se; 1659 struct sched_entity *se = &curr->se, *pse = &p->se;
1660 struct cfs_rq *cfs_rq = task_cfs_rq(curr); 1660 struct cfs_rq *cfs_rq = task_cfs_rq(curr);
1661 int sync = wake_flags & WF_SYNC;
1662 int scale = cfs_rq->nr_running >= sched_nr_latency; 1661 int scale = cfs_rq->nr_running >= sched_nr_latency;
1663 1662
1664 if (unlikely(rt_prio(p->prio))) 1663 if (unlikely(rt_prio(p->prio)))
@@ -1691,9 +1690,6 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_
1691 if (unlikely(curr->policy == SCHED_IDLE)) 1690 if (unlikely(curr->policy == SCHED_IDLE))
1692 goto preempt; 1691 goto preempt;
1693 1692
1694 if (sched_feat(WAKEUP_SYNC) && sync)
1695 goto preempt;
1696
1697 if (!sched_feat(WAKEUP_PREEMPT)) 1693 if (!sched_feat(WAKEUP_PREEMPT))
1698 return; 1694 return;
1699 1695