<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 3, 2013 at 10:28 PM, Peter Teoh <span dir="ltr">&lt;<a href="mailto:htmldeveloper@gmail.com" target="_blank">htmldeveloper@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Vipul,<div><br></div><div>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 &quot;feeding&quot; the dog (in the kernel).   (btw, feed the dog is a more usually used term than &quot;pet&quot; the dog.   sorry for that.   google for that and perhaps you can get more info?).</div>

<div><br></div><div>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.</div>

</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br></div></blockquote></div></div></blockquote>
<div>Hi Peter,</div><div><br></div><div>If you don&#39;t mind can you please provide me more insight as what can be false alarm I can encounter to move pet inside kernel module?</div><div><br></div><div>Regards,</div><div>
Vipul. </div></div></div></div>