Re: [PATCH -tip] x86: atomic64: inline atomic64_read()

From: Andi Kleen
Date: Fri Jul 03 2009 - 14:25:53 EST


Ingo Molnar <mingo@xxxxxxx> writes:
>
> Is the same true of XADD as well? If yes then we can remove the lock
> prefix from those as well - there's a few uses of that on 32-bit and
> 64-bit as well.

XADD also has no implicit LOCK. AFAIK the implicit semantics are
only true for XCHG.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/