summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAnithra P Janakiraman <anithra@linux.vnet.ibm.com>2011-03-28 23:29:19 +0200
committerWim Van Sebroeck <wim@iguana.be>2011-03-29 13:56:22 +0200
commit7fff4beb311dfab4f18ff2cd64f78ec89296a39a (patch)
tree05627ed8b672118833f67cbd36ba65223722040d /sound
parentwatchdog: fix nv_tco section mismatch (diff)
downloadlinux-7fff4beb311dfab4f18ff2cd64f78ec89296a39a.tar.xz
linux-7fff4beb311dfab4f18ff2cd64f78ec89296a39a.zip
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 <sugaken.r3@gmail.com> Signed-off-by: Anithra P J <anithra@linux.vnet.ibm.com> Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions