summaryrefslogtreecommitdiffstats
path: root/release/scripts
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-04-27 16:43:03 +0000
committerattilio <attilio@FreeBSD.org>2011-04-27 16:43:03 +0000
commit27b63ddca0a95a8e3ffa109f713f82c9071610ae (patch)
treed3424aa0d35dd3d768f6340460e2af4a0b15b244 /release/scripts
parent334823faa14810bc193788d6b1455a64f857f842 (diff)
downloadFreeBSD-src-27b63ddca0a95a8e3ffa109f713f82c9071610ae.zip
FreeBSD-src-27b63ddca0a95a8e3ffa109f713f82c9071610ae.tar.gz
- Add the possibility to reuse the already last used timeout when patting
the watchdog, via the watchdog(9) interface. For that, the WD_LASTVAL bitwise operation is used. It is mutually exclusive with any explicit timout passing to the watchdogs. The last timeout can be returned via the wdog_kern_last_timeout() KPI. - Add the possibility to pat the watchdogs installed via the watchdog(9) interface from the kernel. In order to do that the new KPI wdog_kern_pat() is offered and it does accept normalized nanoseconds or WD_LASTVAL. - Avoid to pass WD_ACTIVE down in the watchdog handlers. All the control bit processing should over to the upper layer functions and not passed down to the handlers at all. These changes are intended to be used in order to fix up the watchdog tripping in situation when the userland is busted, but protection is still wanted (examples: shutdown syncing / disk dumping). Sponsored by: Sandvine Incorporated Reviewed by: emaste, des, cognet MFC after: 2 weeks
Diffstat (limited to 'release/scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud