Roland Dreier wrote:
    Arlin> Shouldn't there be a new ibv_put_cq_event() to go with the
    Arlin> ibv_get_cq_event() ?

No, I think that's dealt with by sweeping the CQ in userspace when
destroying a QP.

I don't think that sweeping the CQ in userspace eliminates the race. The call to ibv_get_cq_event() can be just about to return to the user when they call destroy in a separate thread. Destroy has no way of blocking, so get could return an invalid pointer.

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to