> > > kmalloc() does so automatically.
> >
> > I see. It seems to do so based on the size.
> > Do we want urbs intermixed with other
> > allocations of that size ?
>
> I can't see any reason why not. ISTR recently
> freed meant next to be reused, so interactions
> with caches ought not to be severe.
I am thinking about the TLB. In principle we want all
urbs a driver uses to be on the same page.
> > Do we save memory ?
>
> If not, that's a global kernel issue and not just
> a USB one.
>
> > Is the slab cache
> > limited to power of 2 objects ?
>
> You can create caches of whatever size you want.
> Sharing the general purpose caches saves memory.
Even if we save space by having a lesser overhead
by not using power of 2 objects ?
Regards
Oliver
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel