Re: [PATCH v12 09/13] arm, tile: turn off timer tick for oneshot_stopped state

2016-04-07 Thread Daniel Lezcano
On Tue, Apr 05, 2016 at 01:38:38PM -0400, Chris Metcalf wrote: > When the schedule tick is disabled in tick_nohz_stop_sched_tick(), > we call hrtimer_cancel(), which eventually calls down into > __remove_hrtimer() and thus into hrtimer_force_reprogram(). > That function's call to tick_program_event

[PATCH v12 09/13] arm, tile: turn off timer tick for oneshot_stopped state

2016-04-05 Thread Chris Metcalf
When the schedule tick is disabled in tick_nohz_stop_sched_tick(), we call hrtimer_cancel(), which eventually calls down into __remove_hrtimer() and thus into hrtimer_force_reprogram(). That function's call to tick_program_event() detects that we are trying to set the expiration to KTIME_MAX and ca