watchdog: Don't throttle the watchdog
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 20 Aug 2010 09:49:15 +0000 (11:49 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 23 Aug 2010 08:48:05 +0000 (10:48 +0200)
Stephane reported that when the machine locks up, the regular ticks,
which are responsible to resetting the throttle count, stop too.

Hence the NMI watchdog can end up being throttled before it reports on
the locked up state, and we end up being sad..

Cure this by having the watchdog overflow reset its own throttle count.

Reported-by: Stephane Eranian <eranian@google.com>
Tested-by: Stephane Eranian <eranian@google.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1282215916.1926.4696.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/watchdog.c

Simple merge