aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2016-07-20 11:43:12 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2016-07-20 11:46:49 -0400
commit463c286cbeb282554d4540a2bafc133f5a8a9cad (patch)
tree064a31acb3987512a1bfb6750263d7a881611410
parent3c02dceadb605ec851c72d2289aafe64c3b51ead (diff)
GSN-EDF use inferred_sporadic_job_release_at()
-rw-r--r--litmus/sched_gsn_edf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c
index b1efc260c2c4..d3bcb60b9fe3 100644
--- a/litmus/sched_gsn_edf.c
+++ b/litmus/sched_gsn_edf.c
@@ -578,10 +578,7 @@ static void gsnedf_task_wake_up(struct task_struct *task)
578 raw_spin_lock_irqsave(&gsnedf_lock, flags); 578 raw_spin_lock_irqsave(&gsnedf_lock, flags);
579 now = litmus_clock(); 579 now = litmus_clock();
580 if (is_sporadic(task) && is_tardy(task, now)) { 580 if (is_sporadic(task) && is_tardy(task, now)) {
581 /* new sporadic release */ 581 inferred_sporadic_job_release_at(task, now);
582 sched_trace_last_suspension_as_completion(task);
583 release_at(task, now);
584 sched_trace_task_release(task);
585 } 582 }
586 gsnedf_job_arrival(task); 583 gsnedf_job_arrival(task);
587 raw_spin_unlock_irqrestore(&gsnedf_lock, flags); 584 raw_spin_unlock_irqrestore(&gsnedf_lock, flags);