diff options
| author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-07-20 11:42:48 -0400 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-07-20 11:46:43 -0400 |
| commit | 3c02dceadb605ec851c72d2289aafe64c3b51ead (patch) | |
| tree | 976c6f551cf330f162d20a895342d16497bca90f /litmus | |
| parent | 4c8cb1fa2ee076fc6d2ab8cdfbe8482202bff2e4 (diff) | |
C-EDF: use inferred_sporadic_job_release_at()
Diffstat (limited to 'litmus')
| -rw-r--r-- | litmus/sched_cedf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/litmus/sched_cedf.c b/litmus/sched_cedf.c index 48516d4ae77d..518b9106349b 100644 --- a/litmus/sched_cedf.c +++ b/litmus/sched_cedf.c | |||
| @@ -582,10 +582,7 @@ static void cedf_task_wake_up(struct task_struct *task) | |||
| 582 | raw_spin_lock_irqsave(&cluster->cluster_lock, flags); | 582 | raw_spin_lock_irqsave(&cluster->cluster_lock, flags); |
| 583 | now = litmus_clock(); | 583 | now = litmus_clock(); |
| 584 | if (is_sporadic(task) && is_tardy(task, now)) { | 584 | if (is_sporadic(task) && is_tardy(task, now)) { |
| 585 | /* new sporadic release */ | 585 | inferred_sporadic_job_release_at(task, now); |
| 586 | sched_trace_last_suspension_as_completion(task); | ||
| 587 | release_at(task, now); | ||
| 588 | sched_trace_task_release(task); | ||
| 589 | } | 586 | } |
| 590 | cedf_job_arrival(task); | 587 | cedf_job_arrival(task); |
| 591 | raw_spin_unlock_irqrestore(&cluster->cluster_lock, flags); | 588 | raw_spin_unlock_irqrestore(&cluster->cluster_lock, flags); |
