diff options
author | 2014-02-21 17:01:48 +0100 | |
---|---|---|
committer | 2014-02-25 11:30:20 +0000 | |
commit | c32ffce0f66e5d1d4856254516e24f5ef275cd00 (patch) | |
tree | 125229cdd38bfd6e7e62cff7eb8771a34cc999a7 /arch/arm/include/asm/pgtable.h | |
parent | ARM: 7979/1: mm: Remove hugetlb warning from Coherent DMA allocator (diff) | |
download | linux-dev-c32ffce0f66e5d1d4856254516e24f5ef275cd00.tar.xz linux-dev-c32ffce0f66e5d1d4856254516e24f5ef275cd00.zip |
ARM: 7984/1: prefetch: add prefetchw invocations for barriered atomics
After a bunch of benchmarking on the interaction between dmb and pldw,
it turns out that issuing the pldw *after* the dmb instruction can
give modest performance gains (~3% atomic_add_return improvement on a
dual A15).
This patch adds prefetchw invocations to our barriered atomic operations
including cmpxchg, test_and_xxx and futexes.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions