schedule_work and speedtch.c

Duncan Sands baldrick at free.fr
Fri Apr 15 11:24:33 EDT 2005


The speedtouch driver checks the modem status by scheduling work
in the common kernel workqueue.  My nasty old speedtouch has the
unpleasant habit of failing control transfers for no obvious
reason.  When this happens, the control messages timeout when
reading the status.  This causes the entire computer to freeze
for the length of the timeout since the workqueue is blocked,
and lots of important stuff runs there.  It's quite unpleasant
especially since once they start failing they tend to keep on
failing...  I guess the speedtouch (or the usbatm core) could
get its own workqueue.  Any other suggestions?

Ciao,

Duncan.




More information about the Usbatm mailing list