Messages in this thread | | | Date | Wed, 9 Apr 2014 21:28:31 +0530 | Subject | Re: [PATCH] tick-sched: replace tick_nohz_active with tick_nohz_enabled in tick_nohz_switch_to_nohz() | From | Viresh Kumar <> |
| |
On 9 April 2014 21:11, Steven Rostedt <rostedt@goodmis.org> wrote: > But tick_nohz_active also gets set by tick_setup_sched_timer() which > looks to be where it should get set. What is the case that this would > set that variable and tick_setup_sched_timer() would not?
These two are in parallel and only one of these will ever succeed. So, either tick_setup_sched_timer() or tick_nohz_switch_to_nohz() will set it.
| |