History

tick-sched: Check tick_nohz_enabled in tick_nohz_switch_to_nohz()

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().

Viresh Kumar committed 12 years ago

Commit 27630531 parent 03e6bdc1 file · +1 −1Browse files

Unified · Split

kernel/time/tick-sched.c+1−1
@@ -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();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t