diff options
author | Mike Galbraith <efault@gmx.de> | 2010-03-11 11:17:17 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-11 12:32:52 -0500 |
commit | 5ca9880c6f4ba4c84b517bc2fed5366adf63d191 (patch) | |
tree | 2aa6abff8c3615cbb692364e986e3126e0c4099d /kernel/sched_fair.c | |
parent | 6bc6cf2b61336ed0c55a615eb4c0c8ed5daf3f08 (diff) |
sched: Remove FAIR_SLEEPERS feature
Our preemption model relies too heavily on sleeper fairness to disable it
without dire consequences. Remove the feature, and save a branch or two.
Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1268301520.6785.40.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index de98e2e9d6e1..97682f925ed5 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -738,7 +738,7 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial) | |||
738 | vruntime += sched_vslice(cfs_rq, se); | 738 | vruntime += sched_vslice(cfs_rq, se); |
739 | 739 | ||
740 | /* sleeps up to a single latency don't count. */ | 740 | /* sleeps up to a single latency don't count. */ |
741 | if (!initial && sched_feat(FAIR_SLEEPERS)) { | 741 | if (!initial) { |
742 | unsigned long thresh = sysctl_sched_latency; | 742 | unsigned long thresh = sysctl_sched_latency; |
743 | 743 | ||
744 | /* | 744 | /* |