Michael> Something like:
Michael> Remove it from the idr before completing, under a
Michael> spinlock. Now if its in idr its not completing.
Michael> Could this work?
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.
- R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general