aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAnithra P Janakiraman <[email protected]>2011-03-28 14:29:19 -0700
committerWim Van Sebroeck <[email protected]>2011-03-29 11:56:22 +0000
commit7fff4beb311dfab4f18ff2cd64f78ec89296a39a (patch)
tree05627ed8b672118833f67cbd36ba65223722040d /scripts/patch-kernel
parent708d42472fba9a661a85ce12006c87ba3172a37e (diff)
watchdog: softdog.c: enhancement to optionally invoke panic instead of reboot on timer expiry
This is needed for determining the reason for failure when a softdog timeout occurs. We use softdog to watch for critical application failures and at the minimum a snapshot of the system would help to determine the cause. In such a scenario the application could fail but there isn't a softlockup as such, hence the detect softlockup feature does not help. The patch adds a module parameter soft_panic which when set to 1 causes softdog to invoke panic instead of reboot when the softdog timer expires. By invoking panic we execute kdump if it is configured and the vmcore generated by kdump should provide atleast a minimal idea of the reason for failure. Based on an original patch by Ken Sugawara <[email protected]> Signed-off-by: Anithra P J <[email protected]> Reviewed-by: WANG Cong <[email protected]> Acked-by: Alan Cox <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions