[ofa-general] Re: [ewg] [PATCH] IB/ipoib: use vmap with allocation	of tx ring
    Or Gerlitz 
    ogerlitz at voltaire.com
       
    Thu Feb 14 06:05:01 PST 2008
    
    
  
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?
Or
    
    
More information about the general
mailing list