On Fri, Jun 08, 2007 at 03:33:39PM -0700, Christoph Lameter wrote: > On Fri, 8 Jun 2007, Keshavamurthy, Anil S wrote: > > > > You _seem_ to be saying that the resource pools are there purely for > > > alloc/free performance reasons. If so, I'd be skeptical: slab is pretty > > > darned fast. > > We need several objects of size say( 4 * sizeof(u64)) and reuse > > them in dma map/unmap api calls for managing io virtual allocation address > > that > > this driver has dished out. Hence having pool of objects where we put > > the element in the linked list and and get it from the linked list is pretty > > fast compared to slab. > > SLUB also manages objects using a linked list. Is there a real performance > difference?
Sorry, I have not tried using SLUB, I will surely check this out. -Anil - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/