diff options
author | Mac Mollison <mollison@cs.unc.edu> | 2010-10-05 18:39:24 -0400 |
---|---|---|
committer | Mac Mollison <mollison@cs.unc.edu> | 2010-10-05 18:39:24 -0400 |
commit | 25da92c4b4bc1042dec5d1bd01e7aad90dd3788b (patch) | |
tree | 9bcd1b743e3fdd83c2c9db7e26b1e213ace30d8b /litmus | |
parent | 8af4516708dd53925aaf7575b06dda6547ebef01 (diff) |
Further experimentation
Diffstat (limited to 'litmus')
-rw-r--r-- | litmus/sched_mcrit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/litmus/sched_mcrit.c b/litmus/sched_mcrit.c index 42de555e11f3..631e5bb07271 100644 --- a/litmus/sched_mcrit.c +++ b/litmus/sched_mcrit.c | |||
@@ -349,17 +349,17 @@ static void check_for_preemptions(void) | |||
349 | } | 349 | } |
350 | } */ | 350 | } */ |
351 | 351 | ||
352 | for(last = lowest_prio_cpu(); | 352 | /* for(last = lowest_prio_cpu(); |
353 | mcrit_edf_preemption_needed(&mcrit, last->linked); | 353 | mcrit_edf_preemption_needed(&mcrit, last->linked); |
354 | last = lowest_prio_cpu()) { | 354 | last = lowest_prio_cpu()) { |
355 | /* preemption necessary */ | 355 | preemption necessary |
356 | task = __take_ready(&mcrit); | 356 | task = __take_ready(&mcrit); |
357 | TRACE("check_for_preemptions: attempting to link task %d to %d\n", | 357 | TRACE("check_for_preemptions: attempting to link task %d to %d\n", |
358 | task->pid, last->cpu); | 358 | task->pid, last->cpu); |
359 | if (last->linked) | 359 | if (last->linked) |
360 | requeue(last->linked); | 360 | requeue(last->linked); |
361 | link_task_to_cpu(task, last); | 361 | link_task_to_cpu(task, last); |
362 | preempt(last); | 362 | preempt(last); */ |
363 | } | 363 | } |
364 | } | 364 | } |
365 | 365 | ||