[ewg] [PATCH]mlx4_ib XRC RCV: Fix mlx4_ib_reg_xrc_rcv_qp() locking
Jack Morgenstein
jackm at dev.mellanox.co.il
Wed Feb 16 05:30:59 PST 2011
On Wednesday 16 February 2011 15:02, sebastien dugue wrote:
> Also, one thing I noticed in that same function: why allocate ctx_entry before
> knowing if it's going to be of any use? The allocation could be done right before
> the first use.
>
I did it just to gather all the error returns at the beginning of the function.
You are correct, though: I could have walked the list before doing the allocation.
I don't see this as critical, though.
-Jack
More information about the ewg
mailing list