[ofa-general] Re: [ewg] [PATCH] IB/ipoib: use vmap with allocation of tx ring
Eli Cohen
eli at dev.mellanox.co.il
Thu Feb 14 06:11:26 PST 2008
Or Gerlitz wrote:
> Eli Cohen wrote:
>> --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c
>> +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c
>
>> +void ipoib_vfree(struct ipoib_vmap *buf)
>> +{
>> + int i;
>> +
>> + for (i = 0; i < buf->npages; ++i)
>> + __free_page(buf->page_arr[i]);
>> +
>> + kfree(buf->page_arr);
>
> missing vunmap() call here, correct?
>
Oops, I will repost.
More information about the general
mailing list