confusion in interrup handler

Er Krishna erkrishna at gmail.com
Thu Jan 22 02:25:12 EST 2015


Hi All,


Pls help me here to understand the following scenario:

As we know, we cant sleep inside interrupt handler. But what is the reason
for it?

If I put sleep inside the handler code handler, handler code will not
complete and none of the process on that particular processor will ever
will execute. So it will be kind of deadlock. But what if the system is
having multiple processors ? Is it safe here to sleep ? If not what is the
reason ?


Best regrads,
Krishna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150122/7e07b796/attachment.html 


More information about the Kernelnewbies mailing list