On Fri, May 14, 2004 at 07:52:00AM +1000, herbert wrote: > > > If you rewrite your patch to use a timer (with a 2 ms minimum delay) > > instead of a tasklet, I will consider adding it as a stopgap until the > > driver is reworked. > > Why is the delay necessary?
Right, I suppose you were referring to the DMA buffer still under control of the hardware. I'll add a timer in that case. BTW, what guarantees that the dequeue function can't called after the ISR is invoked but before the schedule_lock is taken? If that can happen then wouldn't it free the DMA buffer that's in use as well? -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel