[PATCH v2 2/4] timer: Check thread timers only when there are active thread timers

2015-10-14 Thread Jason Low
The fastpath_timer_check() contains logic to check for if any timers are set by checking if !task_cputime_zero(). Similarly, we can do this before calling check_thread_timers(). In the case where there are only process-wide timers, this will skip all of the computations for per-thread timers when

[PATCH v2 2/4] timer: Check thread timers only when there are active thread timers

2015-10-14 Thread Jason Low
The fastpath_timer_check() contains logic to check for if any timers are set by checking if !task_cputime_zero(). Similarly, we can do this before calling check_thread_timers(). In the case where there are only process-wide timers, this will skip all of the computations for per-thread timers when