[ofa-general] Re: [PATCH/RFC] IPoIB: Allocate priv->tx_ring with vmalloc()

Or Gerlitz ogerlitz at voltaire.com
Thu Mar 13 03:04:33 PDT 2008


Roland Dreier wrote:
> We could do this for the main (datagram mode) tx_ring, but then we eat
> an extra pointer indirection for every send.  I suspect that's worse
> than the TLB miss we take by using vmalloc().
>   
Roland,

Just curious why you think extra pointer indirection for each send is 
worse than TLB misses taken by using vmalloc(), are the latter being 
excepted very un often? Also assuming keeping the dma addresses at the 
TX descriptor is a practice taken also by Ethernet drivers who do have 
big send queues, maybe we should look there to see how this problem was 
solved?

Or.




More information about the general mailing list