On Wednesday 05 July 2006 1:52 pm, Christopher Montgomery wrote:
> On 7/5/06, Alan Stern <[EMAIL PROTECTED]> wrote:
> 
> > I'm hampered by lack of detailed knowledge of the driver.  However it
> > seems to me that those two calls should affect the schedule (cheap) and
> > not the budget (expensive).
> 
> Oh, hmm.  That's actually not a bad idea.  Some part of me is saying 'duh'.

Part of you should also be saying "hey, isn't that exactly
what Dave was referring to earlier?"  The current driver
works exactly that way.

> 
> > Go back and re-read what you yourself wrote above: the URB is resubmitted
> > by core/hub.c.  Not by ehci-hcd.
> 
> Quite right; I also stated clearly when I realized I was confused and
> I corrected myself, but the argument continued.

... because in most other places you were saying that it's EHCI that
resubmits the URB.  *BIG* difference.


> > The way to avoid excess computation is to have intr_deschedule() and
> > periodic_qh_schedule() do less work.  There's no need to tear down and
> > rebuild a scheduler budget when there's not going to be any net change.
> 
> I agree that's the best thing to do, at least for now.

... and the current EHCI code does exactly that.  So don't
change that part of it, and that problem won't exist.

- Dave


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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