]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
softlockup: fix false positives on nohz if CPU is 100% idle for more than 60 seconds
authorIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 13:43:53 +0000 (15:43 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 30 May 2008 12:15:02 +0000 (14:15 +0200)
commit02ff375590ac4140d88afc76505df1ad45c6af59
tree6c24cfb6d0e652f691325dc63afab1373b808442
parent1c4cd6dd1d0fd3057bb6b8c87460049497889d1b
softlockup: fix false positives on nohz if CPU is 100% idle for more than 60 seconds

Fix (probably theoretical only) rq->clock update bug:
in tick_nohz_update_jiffies() [which is called on all irq
entry on all cpus where the irq entry hits an idle cpu] we
call touch_softlockup_watchdog() before we update jiffies.
That works fine most of the time when idle timeouts are within
60 seconds. But when an idle timeout is beyond 60 seconds,
jiffies is updated with a jump of more than 60 seconds,
which causes a jump in cpu-clock of more than 60 seconds,
triggering a false positive.

Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/tick-sched.c