[openib-general] Re: [PATCH] ipoib: device removal races
    Grant Grundler 
    iod00d at hp.com
       
    Wed Aug 31 13:41:03 PDT 2005
    
    
  
On Mon, Aug 29, 2005 at 01:37:02PM -0700, Roland Dreier wrote:
> I think you have to hold the spinlock across the consumer callback to
> avoid all races.  And that's kind of a bummer, because it means you
> can't do anything that might sleep (like modify a QP) from the
> callback.
If the callback is being performed from the interrupt context,
the callback can't sleep anyway.
grant
    
    
More information about the general
mailing list