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

From: Michael S. Tsirkin
Date: Tue Jul 04 2006 - 13:05:18 EST


Quoting r. Zach Brown <zach.brown@xxxxxxxxxx>:
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/