kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* side effects of calling interruptible_sleep_on_timeout()
@ 2012-04-24  9:54 devendra rawat
  2012-04-24 22:06 ` Philipp Ittershagen
  0 siblings, 1 reply; 6+ messages in thread
From: devendra rawat @ 2012-04-24  9:54 UTC (permalink / raw)
  To: kernelnewbies

Hi,

A switch driver is causing soft lockup on Montavista Linux Kernel 2.6.10
system.
While browsing through the code of the driver. I came across a snippet
where after disabling the interrupts
a call is made to interruptible_sleep_on_timeout().

The code snippet is like

cli();

init_waitqueue_head(&queue);
        interruptible_sleep_on_timeout(&queue, USEC_TO_JIFFIES(usec));
        thread_check_signals();

sti();

I need to know the side effect of this sort of code, can it be responsible
for the softlockup of the system ? Its a PowerPC based system.

Regards,
Devendra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120424/5ddbd029/attachment.html 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-26 12:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-24  9:54 side effects of calling interruptible_sleep_on_timeout() devendra rawat
2012-04-24 22:06 ` Philipp Ittershagen
2012-04-25 10:26   ` Srivatsa S. Bhat
2012-04-26  4:33     ` Arun KS
2012-04-26  8:03       ` Srivatsa S. Bhat
     [not found]       ` <E351E450E8B9F54684A699D42DC5ADF21FB079C4@MPBAGVEX02.corp.mphasis.com>
     [not found]         ` <CABOM9ZoJk5FMSPeFGrZhbS_raUdnpXYjZraJd0Ddm0E5E+n00A@mail.gmail.com>
     [not found]           ` <E351E450E8B9F54684A699D42DC5ADF21FB0812D@MPBAGVEX02.corp.mphasis.com>
     [not found]             ` <CABOM9ZqEyZh8Oe3hKp8wb6OhzqP+7mRiXRAYuD3+iWBPBNkUBg@mail.gmail.com>
     [not found]               ` <E351E450E8B9F54684A699D42DC5ADF21FB777E1@MPBAGVEX02.corp.mphasis.com>
2012-04-26 12:17                 ` Arun KS

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).