From 8fe2fb8bb1c1cd0194608bc783d0ce7029e8d869 Mon Sep 17 00:00:00 2001 From: Andrea Bastoni Date: Mon, 26 Apr 2010 13:42:00 -0400 Subject: 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. --- litmus/rt_domain.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'litmus') 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) task->rt_param.domain = rt; /* start release timer */ + TS_SCHED2_START(task); + arm_release_timer(rt); + + TS_SCHED2_END(task); } -- cgit v1.2.2