[ofa-general] Re: [PATCH v2] IB/ipoib: use vmap with allocation of tx ring

Roland Dreier rdreier at cisco.com
Mon Feb 18 14:08:42 PST 2008


 > So what's your suggestion? maybe we go with vmalloc on 64-bit systems
 > and on 32-bits system limit the user to what kmalloc can provide
 > (which is about ~850 size rings with the tx_buf consuming 8*18 u64's +
 > pointer.

No, I don't think we need to worry about using up vmalloc() space
really.  I don't think anyone is going to consume more than a few MB
of ring buffers with IPoIB, and if they do then it's almost certainly
going to be on a 64-bit system.



More information about the general mailing list