> This should be safe in the receive interrupt handling since it keeps a
 > reference to the QP but there might be some other races possible
 > with posting sends and timeouts.  I will think some more...

If you are sure that the QP structure will be around in
ipath_schedule_send() the you could just add a spinlock to make sure
that the test_bit/tasklet_hi_schedule and set_bit/tasklet_kill are
atomic against each other.

 - R.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to