On Wed, 2005-04-27 at 16:45 +0530, B Srinivas wrote: > Hello there, > > I have written a module which registers a character > device . and in the open function I put it into a wait queue > (interruptible_sleep_on). never use interruptible_sleep_on !!!! It's a really racey interface, for one you're only allowed to call it when you hold the BKL (as well as all the code that does the wakeups). Just dont use it and use the replacement interfaces. May I know the replacement interfaces for it ? also I suppose we r diverting from the concerned area of understanding !!! I wanted to know that -- Since iam able to do it comfortably on a UP kernel what hinders it in the SMP kernel? ********************** Legal Disclaimer **************************** "This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message in error, please advise the sender by reply email and delete the message. Thank you." ********************************************************************** -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/