From: On Behalf Of Pete Zaitcev
> On Thu, 2 Jun 2005 21:43:46 -0400, "Stuart MacDonald" 
> <[EMAIL PROTECTED]> wrote:
> 
> > So, flush_to_ldisc() is running in interrupt context. It 
> can call back
> > into usbserial.c in a number of ways, specifically serial_throttle.
> > Which tries to acquire a semaphore, which sometimes sleeps, 
> resulting
> > in a "scheduling in interrupt" crash. (In 2.6 the semaphore has been
> > replaced with a work queue it looks like.)
> 
> Are you talking about 2.4 or 2.6 here?

Yes, sorry. 2.4.28 specifically.

> Regarding 2.4, Sam King wrote a patch for serial_throttle which rides
> the infrastructure of port_helper. It was back in September 2004, and
> I sat on it ever since because I thought that it was easier to hack
> around individual instances of serial_throttle. If you cannot avoid
> taking semaphores in serial_throttle's, then we may revive it.

It is not I but usbserial that is taking the sempahore. Can you send
me a copy of the patch? Ah. You mean this one?
http://marc.theaimsgroup.com/?l=linux-usb-devel&m=109646810201898&w=2

..Stu



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to