]> asedeno.scripts.mit.edu Git - linux.git/commit
documentation: memory-barriers: clarify relaxed io accessor semantics
authorWill Deacon <will.deacon@arm.com>
Wed, 4 Sep 2013 11:30:08 +0000 (12:30 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 20 Oct 2014 17:49:18 +0000 (18:49 +0100)
commita8e0aead70b4af957e6b27b82fba849c6179b707
tree2127e811b50ddf23f21ae678abc129b34e52ded7
parentcbc908ef8e6babc40cb929f46ea1b8a26cbdbce0
documentation: memory-barriers: clarify relaxed io accessor semantics

This patch extends the paragraph describing the relaxed read io accessors
so that the relaxed accessors are defined to be:

 - Ordered with respect to each other if accessing the same peripheral

 - Unordered with respect to normal memory accesses

 - Unordered with respect to LOCK/UNLOCK operations

Whilst many architectures will provide stricter semantics, ARM, Alpha and
PPC can achieve significant performance gains by taking advantage of some
or all of the above relaxations.

Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/memory-barriers.txt