diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-09-22 13:07:50 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-09-22 13:07:50 -0400 |
commit | 23f83097b9aa69a09bab493baa7b2e67551878fe (patch) | |
tree | 85a87903ece05f0f93f055a07ba2aa75819de1cd /litmus | |
parent | 1e1d5491fee0227457505c5fc978bf3d347e6194 (diff) |
EDF-WM: less noisy logs
Only log becoming idle if there actually was a RT task previously.
Diffstat (limited to 'litmus')
-rw-r--r-- | litmus/sched_edf_wm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_edf_wm.c b/litmus/sched_edf_wm.c index 3d2b67897748..ba69969b9a1c 100644 --- a/litmus/sched_edf_wm.c +++ b/litmus/sched_edf_wm.c | |||
@@ -356,7 +356,7 @@ static struct task_struct* wm_schedule(struct task_struct * prev) | |||
356 | if (next) { | 356 | if (next) { |
357 | TRACE_TASK(next, "scheduled at %llu\n", litmus_clock()); | 357 | TRACE_TASK(next, "scheduled at %llu\n", litmus_clock()); |
358 | set_rt_flags(next, RT_F_RUNNING); | 358 | set_rt_flags(next, RT_F_RUNNING); |
359 | } else { | 359 | } else if (exists) { |
360 | TRACE("becoming idle at %llu\n", litmus_clock()); | 360 | TRACE("becoming idle at %llu\n", litmus_clock()); |
361 | } | 361 | } |
362 | 362 | ||