]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r327505:
authorkarels <karels@FreeBSD.org>
Sat, 13 Jan 2018 14:10:05 +0000 (14:10 +0000)
committerkarels <karels@FreeBSD.org>
Sat, 13 Jan 2018 14:10:05 +0000 (14:10 +0000)
commitcf4022a2748eb2325b77b7562dcfc5b4db359245
tree5a54100b94db00bcae1073190995abfc98a07a1c
parentd0d125d98e5f295dac24f7580bbe9e3d6d5a900a
MFC r327505:

make SW_WATCHDOG dynamic

Enable the hardclock-based watchdog previously conditional on the
SW_WATCHDOG option whenever hardware watchdogs are not found, and
watchdogd attempts to enable the watchdog. The SW_WATCHDOG option
still causes the sofware watchdog to be enabled even if there is a
hardware watchdog. This does not change the other software-based
watchdog enabled by the --softtimeout option to watchdogd.

Note that the code to reprime the watchdog during kernel core dumps is
no longer conditional on SW_WATCHDOG. I think this was previously a bug.

Reviewed by:    imp alfred bjk
MFC after:      1 week
Relnotes:       yes
Differential Revision:  https://reviews.freebsd.org/D13713
share/man/man4/watchdog.4
sys/conf/NOTES
sys/dev/watchdog/watchdog.c
sys/kern/kern_clock.c
sys/kern/kern_dump.c
sys/sys/watchdog.h