]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - Documentation/memory-barriers.txt
Merge tag 'wireless-drivers-next-for-davem-2016-05-13' of git://git.kernel.org/pub...
[karo-tx-linux.git] / Documentation / memory-barriers.txt
index 8b11e54238bf38916d8417c106d18159c973b1ea..147ae8ec836f85666110634ff5565f4016de1d80 100644 (file)
@@ -498,6 +498,11 @@ And a couple of implicit varieties:
      This means that ACQUIRE acts as a minimal "acquire" operation and
      RELEASE acts as a minimal "release" operation.
 
+A subset of the atomic operations described in atomic_ops.txt have ACQUIRE
+and RELEASE variants in addition to fully-ordered and relaxed (no barrier
+semantics) definitions.  For compound atomics performing both a load and a
+store, ACQUIRE semantics apply only to the load and RELEASE semantics apply
+only to the store portion of the operation.
 
 Memory barriers are only required where there's a possibility of interaction
 between two CPUs or between a CPU and a device.  If it can be guaranteed that