diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-09-21 12:16:00 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-09-21 12:16:00 -0400 |
commit | 2ed4499a959f8fc30e430b6644ec83ceb7d49ef6 (patch) | |
tree | 77b94e8b6d7645727c4e929fb41a84dd5229a8ae | |
parent | 136a08dbe8c28e751b01e932420f715edb229f6b (diff) |
PSN-EDF: remove outdated comment
...and replace it with a more useful one. We don't directly modify
Linux run queues anymore since (at least) LITMUS^RT 2008.
-rw-r--r-- | litmus/sched_psn_edf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/litmus/sched_psn_edf.c b/litmus/sched_psn_edf.c index e50b27391d21..73f64730bd5e 100644 --- a/litmus/sched_psn_edf.c +++ b/litmus/sched_psn_edf.c | |||
@@ -182,8 +182,10 @@ static struct task_struct* psnedf_schedule(struct task_struct * prev) | |||
182 | */ | 182 | */ |
183 | next = NULL; | 183 | next = NULL; |
184 | if ((!np || blocks) && (resched || !exists)) { | 184 | if ((!np || blocks) && (resched || !exists)) { |
185 | /* Take care of a previously scheduled | 185 | /* When preempting a task that does not block, then |
186 | * job by taking it out of the Linux runqueue. | 186 | * re-insert it into either the ready queue or the |
187 | * release queue (if it completed). requeue() picks | ||
188 | * the appropriate queue. | ||
187 | */ | 189 | */ |
188 | if (pedf->scheduled && !blocks) | 190 | if (pedf->scheduled && !blocks) |
189 | requeue(pedf->scheduled, edf); | 191 | requeue(pedf->scheduled, edf); |