]> git.baikalelectronics.ru Git - kernel.git/commit
USB: EHCI: stagger frames for interrupt transfers
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 22 May 2009 21:02:33 +0000 (17:02 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:46 +0000 (21:44 -0700)
commitdd629452a7aad6a77ad1ab272c02c58431f6a38f
tree4a4baca40490df08704271a6c39b0fa4a59edc95
parent0ec16d2a6c91f6ccaaccb5ad027428b88ac311ad
USB: EHCI: stagger frames for interrupt transfers

This patch (as1243) tries to improve ehci-hcd's scheduling of
interrupt transfers.  Instead of trying to cram all transfers with the
same period into the same frame, the new code will spread the
transfers out among lots of different frames.  This should reduce the
periodic schedule load in any one frame -- some host controllers have
trouble when there's too much work to do.

A more thorough approach would stagger the uframe values as well.  But
this is enough to make a big improvement.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Dwayne Fontenot <dwayne.fontenot@att.net>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-sched.c
drivers/usb/host/ehci.h