diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-11-09 16:39:39 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-11-09 16:39:39 -0500 |
commit | 52d3da1ad4f442cec877fbeb83902707b56da0cf (patch) | |
tree | 154574a8bfbd77e5484116851b56b85a22ecc06f | |
parent | a5fbb6d1064be885d2a6b82f625186753cf74848 (diff) |
sched: turn off PREEMPT_RESTRICT
PREEMPT_RESTRICT was a method aimed at reducing the amount of wakeup
related preemption. It has a disadvantage though, it can prevent
legitimate wakeups if a task is 'unlucky' to be hit too early by a tick
that clears peer_preempt.
Now that the wakeup preemption has been cleaned up we dont seem to have
excessive preemptions anymore, so this feature can be turned off. (and
removed in the next patch)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 387258cdd0b9..4b23dfb4c80f 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -469,7 +469,7 @@ const_debug unsigned int sysctl_sched_features = | |||
469 | SCHED_FEAT_TREE_AVG * 0 | | 469 | SCHED_FEAT_TREE_AVG * 0 | |
470 | SCHED_FEAT_APPROX_AVG * 0 | | 470 | SCHED_FEAT_APPROX_AVG * 0 | |
471 | SCHED_FEAT_WAKEUP_PREEMPT * 1 | | 471 | SCHED_FEAT_WAKEUP_PREEMPT * 1 | |
472 | SCHED_FEAT_PREEMPT_RESTRICT * 1; | 472 | SCHED_FEAT_PREEMPT_RESTRICT * 0; |
473 | 473 | ||
474 | #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) | 474 | #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) |
475 | 475 | ||