aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-05-05 14:28:51 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-05-05 14:28:51 -0400
commit04873371d489603edb52cf723ebed322c6c80d74 (patch)
tree295ce9b4a6297b3b2bbc0595d32217cea5b72ea5
parent8f5fecd0290df1bba43f17260534261f6689a39e (diff)
LITMUS: don't invoke plugin for non-real-time tasks
The plugins don't care about best-effort tasks. Don't bother them.
-rw-r--r--litmus/sched_litmus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_litmus.c b/litmus/sched_litmus.c
index ab52ae9510..0e6cde6e1f 100644
--- a/litmus/sched_litmus.c
+++ b/litmus/sched_litmus.c
@@ -79,7 +79,7 @@ static void litmus_schedule(struct rq *rq, struct task_struct *prev)
79 } 79 }
80 80
81 double_rq_lock(rq, other_rq); 81 double_rq_lock(rq, other_rq);
82 if (prev->state != prev_state) { 82 if (prev->state != prev_state && is_realtime(prev)) {
83 TRACE_TASK(prev, 83 TRACE_TASK(prev,
84 "state changed while we dropped" 84 "state changed while we dropped"
85 " the lock: now=%d, old=%d\n", 85 " the lock: now=%d, old=%d\n",