[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems with a spleep_on() and kernel 2.4.0



Hi guys, it's me ( yes again! :) ). In the module I'm writing, I use a predefined task queue ( tq_timer ) to do some things each clock interrupt.
Well, in the cleanup_module() I call sleep_on to syncronize myself and to not reenter my funct in the wait queue ( the func call a wake_up after exiting, of course ).
So rmmod work and the module is deleted safetly. This works on kernel 2.4.0-test11 and earlier.
Why using the final 2.4.0, the function inserted in the wait queue is never executed and the final sleep_on cause rmmod to freeze?

PS: Of course, iI've update the needed modutils and other as Documentation/Changes said me!
Thanks a lot
sponge
e-mail: sponge@tiscalinet.it


--
TiscaliNet, libero accesso ad Internet.
http://www.tiscalinet.it

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.surriel.com/kernelnewbies.shtml