[openib-general] [PATCH] mthca: initialize send and receive queue locks separately

Michael S. Tsirkin mst at mellanox.co.il
Tue Jul 4 09:52:34 PDT 2006


Quoting r. Zach Brown <zach.brown at oracle.com>:
> Is that just a side-effect of
> relying on mthca_wq_init() to reset the non-lock members?

Yes.


> If you're
> concerned about microoptimization it seems like this could be avoided.

This is off the fast path so I think Roland's idea was we should only care
about code size. But might be worth thinking this over, anyway. Thanks!

-- 
MST




More information about the general mailing list