[openib-general] [PATCH] opensm: make cl_atomic functions atomic

Sasha Khapyorsky sashak at voltaire.com
Mon Mar 6 07:38:55 PST 2006


On 16:23 Sun 05 Mar     , Fabian Tillier wrote:
> 
> Why aren't we using atomic operations here?  Does Linux not support
> atomic increment/decrement in user-mode?

Do you mean 'asm/atomic.h' from linux kernel? If so it is kernel's code
(many systems export it as /usr/include/asm/atomic.h however).

Also I'm not sure about licensing - how kernel's GPL is compatible with
OpenSM's dual license?

Sasha.



More information about the general mailing list