aboutsummaryrefslogtreecommitdiff
path: root/drivers/lguest
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-09-25 16:59:57 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 14:41:01 -0700
commite58dcebcd83b5902411e747ee7807219dee6bcf2 (patch)
tree2d37312f1514ad992698f642a8e567c1ffc9c359 /drivers/lguest
parent925dff5dee04fb46d2e67c088c54b331f97672ee (diff)
USB: UHCI: improve scheduling of interrupt URBs
This patch (as1140) adds a little intelligence to the interrupt-URB scheduler in uhci-hcd. Right now the scheduler is stupid; every URB having the same period is assigned to the same slot. Thus a large group of period-N URBs can fill their slot and cause -ENOSPC errors even when all the lower-period slots are empty. With the patch, if an URB doesn't fit in its assigned slot then the scheduler will try using lower-period slots. This will provide greater flexibility. As an example, the driver will be able to handle more than just three or four mice, which the current driver cannot. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions