softlock: fix false panic which can occur if softlockup_thresh is reduced
authorMandeep Singh Baines <msb@google.com>
Tue, 13 Jan 2009 05:15:17 +0000 (21:15 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 14 Jan 2009 10:48:07 +0000 (11:48 +0100)
At run-time, if softlockup_thresh is changed to a much lower value,
touch_timestamp is likely to be much older than the new softlock_thresh.

This will cause a false softlockup to be detected. If softlockup_panic
is enabled, the system will panic.

The fix is to touch all watchdogs before changing softlockup_thresh.

Signed-off-by: Mandeep Singh Baines <msb@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found