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?

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.

-- Pete


-------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to