diff options
Diffstat (limited to 'kernel/sched_adaptive.c')
-rw-r--r-- | kernel/sched_adaptive.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/sched_adaptive.c b/kernel/sched_adaptive.c index 97d06b1ad4..319ebbc11c 100644 --- a/kernel/sched_adaptive.c +++ b/kernel/sched_adaptive.c | |||
@@ -838,8 +838,6 @@ static noinline void preempt(cpu_entry_t *entry) | |||
838 | } else | 838 | } else |
839 | /* in case that it is a remote CPU we have to defer the | 839 | /* in case that it is a remote CPU we have to defer the |
840 | * the decision to the remote CPU | 840 | * the decision to the remote CPU |
841 | * FIXME: We could save a few IPI's here if we leave the flag | ||
842 | * set when we are waiting for a np_exit(). | ||
843 | */ | 841 | */ |
844 | if (!test_will_schedule(entry->cpu)) | 842 | if (!test_will_schedule(entry->cpu)) |
845 | smp_send_reschedule(entry->cpu); | 843 | smp_send_reschedule(entry->cpu); |
@@ -1432,7 +1430,7 @@ sched_plugin_t *__init init_adaptive_plugin(void) | |||
1432 | fc_b = _frac( 303, 1000); | 1430 | fc_b = _frac( 303, 1000); |
1433 | 1431 | ||
1434 | optimizer_period = 1000; | 1432 | optimizer_period = 1000; |
1435 | optimizer_min_invocation_sep = 50; | 1433 | optimizer_min_invocation_sep = 200; |
1436 | task_error_threshold = _frac(1, 2); | 1434 | task_error_threshold = _frac(1, 2); |
1437 | 1435 | ||
1438 | if (!s_plugin.ready_to_use) | 1436 | if (!s_plugin.ready_to_use) |