diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-04-26 13:42:00 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:35:03 -0400 |
commit | 8fe2fb8bb1c1cd0194608bc783d0ce7029e8d869 (patch) | |
tree | e01b2774ada53c3152bf87ea2bd919db4fcac78e /litmus | |
parent | 5da9b3e7aab0755f6ca19738d33e218e02b19a41 (diff) |
Measure timer re-arming in the proper location
hrtimers are properly rearmed during arm_release_timer() and no longer
after rescheduling (with the norqlock mechanism of 2008.3). This commit
accordingly updates the locations where measures are taken.
Diffstat (limited to 'litmus')
-rw-r--r-- | litmus/rt_domain.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/litmus/rt_domain.c b/litmus/rt_domain.c index 0ed6d5cbbfc5..609ff0f82abb 100644 --- a/litmus/rt_domain.c +++ b/litmus/rt_domain.c | |||
@@ -301,6 +301,10 @@ void __add_release(rt_domain_t* rt, struct task_struct *task) | |||
301 | task->rt_param.domain = rt; | 301 | task->rt_param.domain = rt; |
302 | 302 | ||
303 | /* start release timer */ | 303 | /* start release timer */ |
304 | TS_SCHED2_START(task); | ||
305 | |||
304 | arm_release_timer(rt); | 306 | arm_release_timer(rt); |
307 | |||
308 | TS_SCHED2_END(task); | ||
305 | } | 309 | } |
306 | 310 | ||