|
|
@@ -1259,6 +1259,9 @@ static enum hrtimer_restart inactive_task_timer(struct hrtimer *timer)
|
|
|
|
|
|
rq = task_rq_lock(p, &rf);
|
|
|
|
|
|
+ sched_clock_tick();
|
|
|
+ update_rq_clock(rq);
|
|
|
+
|
|
|
if (!dl_task(p) || p->state == TASK_DEAD) {
|
|
|
struct dl_bw *dl_b = dl_bw_of(task_cpu(p));
|
|
|
|
|
|
@@ -1278,9 +1281,6 @@ static enum hrtimer_restart inactive_task_timer(struct hrtimer *timer)
|
|
|
if (dl_se->dl_non_contending == 0)
|
|
|
goto unlock;
|
|
|
|
|
|
- sched_clock_tick();
|
|
|
- update_rq_clock(rq);
|
|
|
-
|
|
|
sub_running_bw(dl_se, &rq->dl);
|
|
|
dl_se->dl_non_contending = 0;
|
|
|
unlock:
|