Re: [PATCH] process cputimer is moving faster than itscorresponding clock
From: Peter Zijlstra
Date: Fri Apr 12 2013 - 05:18:32 EST
On Wed, 2013-04-10 at 11:48 -0400, Olivier Langlois wrote:
> If it is important to stop it then the code will require a fix anyway.
> As you could start it
> indefinitely with 0 timers if calling posix_cpu_timer_set() does not
> up arming a timer or
> Having one periodic timer. The cputimer will be stopped in
> check_process_timers() to be immediatly restarted in
> posix_cpu_timer_schedule() every single time the timer will be fired.
OK, then yes that wants fixing. That was not intended.
The intent was starting the accounting when required and stopping it
when no longer needed.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/