[PATCH 0/6] Add support for pldw instruction on v7 MP cores
Will Deacon
will.deacon at arm.com
Tue Jul 23 07:36:23 EDT 2013
Hello,
This patch series adds support for the pldw instruction implemented on
ARMv7 SMP processors. The instruction is used to implement the prefetchw
macro, which is then used around barrier-less ldrex/strex sections (i.e.
the prefetch isn't blocked either side by memory barriers) to increase
the chances of the strex succeeding initially.
On my TC2 board (A7s + A15s), I see a ~1.3% boost in hackbench scores
on top of my barriers patch series.
All feedback welcome,
Will
Will Deacon (6):
ARM: prefetch: remove redundant "cc" clobber
ARM: smp_on_up: move inline asm ALT_SMP patching macro out of
spinlock.h
ARM: prefetch: add support for prefetchw using pldw on SMP ARMv7+ CPUs
ARM: locks: prefetch the destination word for write prior to strex
ARM: atomics: prefetch the destination word for write prior to strex
ARM: bitops: prefetch the destination word for write prior to strex
arch/arm/include/asm/atomic.h | 7 +++++++
arch/arm/include/asm/processor.h | 33 +++++++++++++++++++++++++--------
arch/arm/include/asm/spinlock.h | 24 ++++++++++++------------
arch/arm/include/asm/unified.h | 4 ++++
arch/arm/lib/bitops.h | 5 +++++
5 files changed, 53 insertions(+), 20 deletions(-)
--
1.8.2.2
More information about the linux-arm-kernel
mailing list