watchdog pet in kernel module

Vipul Jain vipulsj at gmail.com
Wed Dec 4 19:45:44 EST 2013


On Tue, Dec 3, 2013 at 10:28 PM, Peter Teoh <htmldeveloper at gmail.com> wrote:

> Hi Vipul,
>
> I have seen this in a number of commercial software running on RHEL, and
> on other realtime OS as well.   The watchdog mechanism is always working in
> pair:   userspace "feeding" the dog (in the kernel).   (btw, feed the dog
> is a more usually used term than "pet" the dog.   sorry for that.   google
> for that and perhaps you can get more info?).
>
> Like Valdis said, this way you will know when userspace hang, which is the
> key criteria for reboot.   Why do u want to detect if the kernel hang
> (versus busy doing something)?   Theoretically that is not possible,
> especially when all interrupt are disabled.
>
>>
>> Hi Peter,

If you don't mind can you please provide me more insight as what can be
false alarm I can encounter to move pet inside kernel module?

Regards,
Vipul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131204/b9c7712e/attachment.html 


More information about the Kernelnewbies mailing list