summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-06-27 12:01:51 +0100
committerWill Deacon <will.deacon@arm.com>2013-09-30 16:42:56 +0100
commitd779c07dd72098a7416d907494f958213b7726f3 (patch)
treece55eca4b34d090604b8dfcc227e74de4eede72c /arch/arm/mach-w90x900
parentf38d999c4d16fc0fce4270374f15fbb2d8713c09 (diff)
downloadop-kernel-dev-d779c07dd72098a7416d907494f958213b7726f3.zip
op-kernel-dev-d779c07dd72098a7416d907494f958213b7726f3.tar.gz
ARM: bitops: prefetch the destination word for write prior to strex
The cost of changing a cacheline from shared to exclusive state can be significant, especially when this is triggered by an exclusive store, since it may result in having to retry the transaction. This patch prefixes our atomic bitops implementation with prefetchw, to try and grab the line in exclusive state from the start. The testop macro is left alone, since the barrier semantics limit the usefulness of prefetching data. Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/mach-w90x900')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud