switch back to global
atomic cmpxchg updates for kernels...