| commit | 9feb87d70208e2236d24ef0ac2fa4d0e28e7d335 | [log] [tgz] |
|---|---|---|
| author | Jeff Ohlstein <johlstei@codeaurora.org> | Tue Jul 17 16:45:19 2012 -0700 |
| committer | Jeff Ohlstein <johlstei@codeaurora.org> | Tue Jul 17 16:50:23 2012 -0700 |
| tree | 81e28ee19f740efbe184e66fdec8f3e2e97f3f00 | |
| parent | 945ff3d84e4f899dd7eeb311878d4dbbcc19e3e1 [diff] |
tick-sched: recalculate sleep length each time it is requested Recalculating the sleep length each time its called allows us to account for the fact that the amount of time we can sleep for might change after tick_nohz_stop_sched_tick is called in idle. The prime example of this is an idle notifier that cancels timers as we are entering idle. Change-Id: I92871efc7befb3fee2a816da16145ba9da334a9e Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>