On 3/2/06, Sasha Khapyorsky <[EMAIL PROTECTED]> wrote:
> Hello,
>
> complib's cl_atomic_() functions are not atomic in current implementation,
> they use static per function locks so race is possible between different
> functions (for example between _inc() and _dec()). Such races are pretty
> reproducible in practice - for example it is used to inc/decrement mad
> counters in opensm.

Why aren't we using atomic operations here?  Does Linux not support
atomic increment/decrement in user-mode?

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