lockup_detector: Separate touch_nmi_watchdog code path from touch_watchdog
authorDon Zickus <dzickus@redhat.com>
Fri, 7 May 2010 21:11:51 +0000 (17:11 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 12 May 2010 21:55:55 +0000 (23:55 +0200)
commitd7c547335fa6b0090fa09c46ea0e965ac273a27e
tree66d082cb7acbfc59a2af6bf24130d4832da2919e
parent10f9014912a2b1cb59c39cdea777e6d9afa8f17e
lockup_detector: Separate touch_nmi_watchdog code path from touch_watchdog

When I combined the nmi_watchdog (hardlockup) and softlockup code, I
also combined the paths the touch_watchdog and touch_nmi_watchdog took.
This may not be the best idea as pointed out by Frederic W., that the
touch_watchdog case probably should not reset the hardlockup count.

Therefore the patch below falls back to the previous idea of keeping
the touch_nmi_watchdog a superset of the touch_watchdog case.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Eric Paris <eparis@redhat.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
LKML-Reference: <1273266711-18706-9-git-send-email-dzickus@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
kernel/watchdog.c