[ofa-general] Re: The low level driver of mlx4 kmalloc 0 bytes in QP creation

Roland Dreier rdreier at cisco.com
Wed Jun 27 12:08:39 PDT 2007


 > 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.

 - R.



More information about the general mailing list