Michael S. Tsirkin wrote:
We also need a way to make sure that ib_mad_thread_completion_handler is
not currently running.

Why wouldn't this work?

lock - check state - queue work - unlock

It shouldn't matter if ib_mad_thread_completion_handler() is running or not.

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