Sean> Could we use atomic_dec_and_lock() instead?  This would keep
    Sean> refcount atomic, but use a spinlock to synchronize with
    Sean> destruction.

Hmm, how does that help?

Just going to a plain integer with a spinlock to protect it seems
simple and clear.

 - 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

Reply via email to