Since commit d689fe222 (NOHZ: Check for nohz active instead of nohz enabled) the tick_nohz_switch_to_nohz() function returns because it checks for the tick_nohz_active flag. This can't be set, because the function itself sets it. Undo the change in tick_nohz_switch_to_nohz().
Unified · Split
| @@ -970,7 +970,7 @@ static void tick_nohz_switch_to_nohz(void) · 969 unmodified lines | |||
| 970 | struct tick_sched *ts = &__get_cpu_var(tick_cpu_sched); | 970 | struct tick_sched *ts = &__get_cpu_var(tick_cpu_sched); |
| 971 | ktime_t next; | 971 | ktime_t next; |
| 972 | 972 | ||
| 973 | if (!tick_nohz_active) | 973 | if (!tick_nohz_enabled) |
| 974 | return; | 974 | return; |
| 975 | 975 | ||
| 976 | local_irq_disable(); | 976 | local_irq_disable(); |