aboutsummaryrefslogtreecommitdiffstats
path: root/litmus
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-03-07 23:41:56 -0500
committerJoshua Bakita <jbakita@cs.unc.edu>2020-03-07 23:41:56 -0500
commit67f6b01de9a6d363b6f6e94c0e20649356e833bd (patch)
tree850e0027c4bec617aa892ef49f39079895fbc869 /litmus
parentf590668321aeb8c313f66dc6360404eac4e63aaa (diff)
Manage idle enforcement timer in g_job_completed as recommended by Peter
Diffstat (limited to 'litmus')
-rw-r--r--litmus/sched_edfsc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/litmus/sched_edfsc.c b/litmus/sched_edfsc.c
index 05c940441e63..349ebeea2331 100644
--- a/litmus/sched_edfsc.c
+++ b/litmus/sched_edfsc.c
@@ -550,6 +550,8 @@ static noinline void g_job_completion(struct task_struct* t, int forced)
550 } else if (is_container(t) && tsk_rt(t)->edfsc_params.can_release) { 550 } else if (is_container(t) && tsk_rt(t)->edfsc_params.can_release) {
551 tsk_rt(t)->edfsc_params.can_release = 0; 551 tsk_rt(t)->edfsc_params.can_release = 0;
552 c_release(t); 552 c_release(t);
553 if (get_rt_utilization(t) == to_fp(1))
554 manage_idle_enforcement_timer(t);
553 } 555 }
554} 556}
555 557