Thread (10 messages) flat view 10 messages, 5 authors, 2012-07-16

Re: [PATCH] ppc44x/watchdog: Select WATCHDOG_NOWAYOUT option

From: Tabi Timur-B04825 <hidden>
Date: 2012-07-16 20:28:13

On Fri, Jul 13, 2012 at 7:25 AM, Josh Boyer [off-list ref] wrote:
Right now, if the option is not set we call booke_wdt_disable which
indeed does not actually _disable_ the WDT, but it does set the timer
period to the maxium value.  We could go one step further and implement
a simple timer that pops and calls booke_wdt_ping if WATCHDOG_NOWAYOUT
is not set, then rearms itself.  That would leave the user with the
ability to perform recovery of the userspace process that exited or
died and was responsible for pinging the watchdog.
I think the maximum value is still decades or centuries, so there's no
real reason to complicate the code.

The NOWAYOUT feature is working as designed, so I don't understand the
need for this patch.

--=20
Timur Tabi
Linux kernel developer at Freescale=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help