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

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/time/tick-sched.c+1−1
@@ -970,7 +970,7 @@ static void tick_nohz_switch_to_nohz(void) · 969 unmodified lines
970970 struct tick_sched *ts = &__get_cpu_var(tick_cpu_sched);
971971 ktime_t next;
972972
973− if (!tick_nohz_active)
973+ if (!tick_nohz_enabled)
974974 return;
975975
976976 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