Re: [PATCH] xhci: Allocate the td array and urb_priv together.

2013-12-13 Thread Sarah Sharp
On Mon, Nov 04, 2013 at 11:32:41AM -, David Laight wrote: > Replace the array of pointers to transfer descriptors with > the transfer descriptors themselves. > > This saves a kzalloc() call on every transfer and some memory > indirections. > > The only possible downside is for isochronous tra

[PATCH] xhci: Allocate the td array and urb_priv together.

2013-11-04 Thread David Laight
Replace the array of pointers to transfer descriptors with the transfer descriptors themselves. This saves a kzalloc() call on every transfer and some memory indirections. The only possible downside is for isochronous tranfers with 64 td when the allocate is 8+4096 bytes (on 64bit systems) so req