> > > Comments?
> >>
> > How about abstracting the code and let usb_alloc_urb()
> > take urbs from a pool ?
> > Though I have no idea on how to find a sensible size for
> > the pool. How bad for the TLB are we ?
>
> I don't know.
>
> I was thinking that this would be a good idea too (a usb subsystem wide
> urb pool). But more drivers would have to be changed to do what this
> visor driver does (right now everyone usually just creates them once, on
> device init.)
Why ?
If the pool is formed by allocating the memory for urbs in chunks
the positive effect on TLB and cache is there whether the allocation
in the drivers is dynamic or not.
In fact, could we use the slab cache as is ?
Regards
Oliver
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel