[openib-general] Re: ibv_get_async_event

Fab Tillier ftillier at silverstorm.com
Tue Aug 30 16:50:05 PDT 2005


> From: Roland Dreier [mailto:rolandd at cisco.com]
> Sent: Tuesday, August 30, 2005 4:42 PM
> 
>     Sean> Roland, would a patch to fix this that is similar to what
>     Sean> was done for uCM be acceptable?  (I can describe the method
>     Sean> in more detail if you'd like.)  The drawback is that it
>     Sean> basically adds reference counting, which would require
>     Sean> calling ibv_put_event().
> 
> Hmm, I'd rather just sweep through the list of events when we destroy
> a CQ/QP/SRQ and delete any events that refer to the object we're
> destroying.  It's on my to-do list but I'll definitely take patches if
> you do it first.

Couldn't an event be "in flight" when the user destroys an object, causing the
event to be delivered post-destruction?

- Fab




More information about the general mailing list