aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_adaptive.c
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2007-10-27 15:47:22 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2007-10-27 15:47:22 -0400
commita4d08351aacc56e79b03c85fc9bbcb03567309fa (patch)
tree8f15cd5c23a86c72c7376c3da8248e4850629b7f /kernel/sched_adaptive.c
parent2e4b97e2e722699fe2ce2699714887eac0ff84cc (diff)
cleanup: tidy up code before release2007.2
This gets rid of quite a few FIXMEs and TODOs, as well as some cruft.
Diffstat (limited to 'kernel/sched_adaptive.c')
-rw-r--r--kernel/sched_adaptive.c4
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)