lkml.org 
[lkml]   [2009]   [Jul]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -tip] x86: atomic64: inline atomic64_read()
FromAndi Kleen <>
DateFri, 03 Jul 2009 20:25:45 +0200
Ingo Molnar <mingo@elte.hu> 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@linux.intel.com -- Speaking for myself only.


\
 
 \ /
  Last update: 2009-07-03 20:29    [from the cache]
©2003-2009