[SeaBIOS] [PATCH 3/4] usb: add usb_update_pipe()

Gerd Hoffmann kraxel at redhat.com
Tue Sep 3 16:30:14 CEST 2013


On Do, 2013-08-29 at 22:53 -0400, Kevin O'Connor wrote:
> On Thu, Aug 29, 2013 at 08:22:57AM -0400, Kevin O'Connor wrote:
> > On Wed, Aug 21, 2013 at 03:20:22PM +0200, Gerd Hoffmann wrote:
> > > Preparation for better xhci support: allows to notify host controllers
> > > instead of going through a free+alloc cycle.
> 
> Thinking about this further, can the xhci_alloc_pipe() code just check
> if the requested pipe was recently free'd (by scanning the free list)
> and then reuse it (by calling xhci_alloc_pipe itself)?

I had it that way.  Didn't like it much.  One problem is that we can't
drop patch #1 then.  I think I'll prefer plugging the leaks.

cheers,
  Gerd






More information about the SeaBIOS mailing list