Skip to content

arm64: lib: improve copy performance

Yang Yingliang linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: lib: introduce ldp2/stp2 macroarch/arm64/include/asm/asm-uaccess.h arch/arm64/lib/copy_from_user.S arch/arm64/lib/copy_in_user.S +2 more+48 -00 replies
2/3arm64: lib: improve copy performance when size is ge 128 bytesarch/arm64/lib/copy_template.S+20 -166 replies
3/3arm64: lib: improve copy performance when size is less than 128 and ge 64 bytesarch/arm64/lib/copy_template.S+10 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] arm64: lib: improve copy performance

This patchset reduce instructions in copy_template.S to improve the performance of copy memory, when size is ge 64 bytes.

Yang Yingliang (3):
arm64: lib: introduce ldp2/stp2 macro
arm64: lib: improve copy performance when size is ge 128 bytes
arm64: lib: improve copy performance when size is less than 128 and ge
64 bytes

 arch/arm64/include/asm/asm-uaccess.h | 16 +++++++++
 arch/arm64/lib/copy_from_user.S      |  8 +++++
 arch/arm64/lib/copy_in_user.S        |  8 +++++
 arch/arm64/lib/copy_template.S       | 54 +++++++++++++++-------------
 arch/arm64/lib/copy_to_user.S        |  8 +++++
 arch/arm64/lib/memcpy.S              |  8 +++++
 6 files changed, 78 insertions(+), 24 deletions(-)
Signature · 1 line
2.25.1