> Quoting Roland Dreier <[EMAIL PROTECTED]>:
> Subject: Re: The low level driver of mlx4 kmalloc 0 bytes in QP creation
> 
>  > If one creates a QP with 0 WR in the RQ in the kernel level, the low
>  > level driver of the mlx4
>  > will kmalloc 0 bytes (for the WR IDs of the RQ).
>  > (for example, the IPoIB CM creates such a QP)
>  > 
>  > Is this is an error?
> 
> The consensus seems to be that kmalloc(0) is OK, although various
> 2.6.22-rc kernels printed big tracebacks when it happens.  I think
> getting rid of the kmalloc(0) in mlx4 would make the code more
> complicated for no real gain.

Hmm, seems to crash with recent git kernels.

-- 
MST
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to