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
_______________________________________________
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