Commit d3938204468dccae16be0099a2abf53db4ed0505

Authored by Thomas Gleixner
Committed by Ingo Molnar
1 parent a531a14108

softlockup: fix false positives on CONFIG_NOHZ

David Miller reported soft lockup false-positives that trigger
on NOHZ due to CPUs idling for more than 10 seconds.

The solution is touch the softlockup watchdog when we return from
idle. (by definition we are not 'locked up' when we were idle)

 http://bugzilla.kernel.org/show_bug.cgi?id=9409

Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

kernel/time/tick-sched.c
... ... @@ -133,6 +133,8 @@
133 133 if (!ts->tick_stopped)
134 134 return;
135 135  
  136 + touch_softlockup_watchdog();
  137 +
136 138 cpu_clear(cpu, nohz_cpu_mask);
137 139 now = ktime_get();
138 140