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

Eli Cohen eli at dev.mellanox.co.il
Thu Feb 14 11:01:09 PST 2008


Roland Dreier wrote:
> Not sure I understand this:
> 
>  > +int ipoib_vmalloc(struct ipoib_vmap *buf, int size)
> 
> how is this any different than the vmalloc() that already exists?  Why
> couldn't you just use vmalloc()?

To be honest I don't have an answer. The thought of this passed my mind but
yet it has an exported API in the kernel - I wonder why. So what do you
think of using vmalloc in this case?



More information about the general mailing list