lockup_detector: Sync touch_*_watchdog back to old semantics
authorDon Zickus <dzickus@redhat.com>
Wed, 1 Sep 2010 03:00:07 +0000 (23:00 -0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 1 Sep 2010 08:02:28 +0000 (10:02 +0200)
commit68d3f1d810500e8b975bdf0b20dd83d060076b4b
tree68d07e9d165aa9fde390dfa5694bb58aa63adb0d
parent3aaba20f26f58843e8f20611e5c0b1c06954310f
lockup_detector: Sync touch_*_watchdog back to old semantics

During my rewrite, the semantics of touch_nmi_watchdog and
touch_softlockup_watchdog changed enough to break some drivers
(mostly over preemptable regions).

These are cases where long delays on one CPU (due to
print_delay for example) can cause long delays on other
CPUs - so we must 'touch' the nmi_watchdog flag of those
other CPUs as well.

This change brings those touch_*_watchdog() functions back in line
with to how they used to work.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: peterz@infradead.org
Cc: fweisbec@gmail.com
LKML-Reference: <1283310009-22168-2-git-send-email-dzickus@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/watchdog.c