> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Roland Dreier
> Sent: Wednesday, August 31, 2005 10:53 AM
> To: Sean Hefty
> Cc: [email protected]
> Subject: Re: [openib-general] RDMA Generic Connection Management
> 
>     Sean> For this to work, we should ensure that a client is never
>     Sean> given a reference to a device that they may have received
>     Sean> removal notification for.
> 
> This is the hard part: one CPU could start calling into a 
> consumer with a valid device, but get delayed by an interrupt 
> or something.  In the meantime, another CPU could remove that 
> device from the consumer, and then when the first 
> notification finally arrives, it's no longer valid.
> 

A further complication is ensuring that the problem is not
solved twice. The device layer may already have logic to
ensure that concurrent callbacks from the driver layer 
do not conflict (including the simplest of not allowing
concurrent callbacks).

_______________________________________________
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