From: Thomas Gleixner Date: Wed, 28 Nov 2007 14:52:56 +0000 (+0100) Subject: softlockup: fix false positives on CONFIG_NOHZ X-Git-Tag: v2.6.24-rc4~81^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d3938204468dccae16be0099a2abf53db4ed0505;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 27a2338deb4..cb89fa8db11 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -133,6 +133,8 @@ void tick_nohz_update_jiffies(void) if (!ts->tick_stopped) return; + touch_softlockup_watchdog(); + cpu_clear(cpu, nohz_cpu_mask); now = ktime_get();