diff options
author | Andrew Pinski <apinski@cavium.com> | 2016-02-02 13:46:26 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-02-16 16:12:33 +0100 |
commit | 60e0a09db24adc8809696307e5d97cc4ba7cb3e0 (patch) | |
tree | 63393658bd17f4f604a19f9242d1f09027bfbe15 /arch/arm64/Kconfig | |
parent | arm64: lib: improve copy_page to deal with 128 bytes at a time (diff) | |
download | linux-60e0a09db24adc8809696307e5d97cc4ba7cb3e0.tar.xz linux-60e0a09db24adc8809696307e5d97cc4ba7cb3e0.zip |
arm64: lib: patch in prfm for copy_page if requested
On ThunderX T88 pass 1 and pass 2, there is no hardware prefetching so
we need to patch in explicit software prefetching instructions
Prefetching improves this code by 60% over the original code and 2x
over the code without prefetching for the affected hardware using the
benchmark code at https://github.com/apinski-cavium/copy_page_benchmark
Signed-off-by: Andrew Pinski <apinski@cavium.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Tested-by: Andrew Pinski <apinski@cavium.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions