Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1211339 > unrolled thread

[PATCH V4 0/2] arm64: copy to/in/from user optimization

Started byFeng Kan <fkan@apm.com>
First post2015-08-22 00:10 +0200
Last post2015-08-22 00:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH V4 0/2] arm64: copy to/in/from user optimization Feng Kan <fkan@apm.com> - 2015-08-22 00:10 +0200

#1211339 — [PATCH V4 0/2] arm64: copy to/in/from user optimization

FromFeng Kan <fkan@apm.com>
Date2015-08-22 00:10 +0200
Subject[PATCH V4 0/2] arm64: copy to/in/from user optimization
Message-ID<q02FA-8ev-9@gated-at.bofh.it>
This coverts all copy in/from/to user file to use the copy template file.
The copy template file is based on the memcpy.S. The second patch converts
the memcpy to use the copy template as well. Overnight trinity test and
10G iperf was used to test correctness and performance. Noticeable
iperf improvement (~30%) on the receive side.

V4 Change:
	- base the copy template file on the existing memcpy.S
	- convert copy*.s to user copy template
	- conver the memcpy to use the copy template.

Feng Kan (2):
  arm64: copy_to-from-in_user optimization using copy template
  arm64: Change memcpy in kernel to use the copy template file

 arch/arm64/lib/copy_from_user.S |  78 +++++++++-------
 arch/arm64/lib/copy_in_user.S   |  66 ++++++++------
 arch/arm64/lib/copy_template.S  | 196 ++++++++++++++++++++++++++++++++++++++++
 arch/arm64/lib/copy_to_user.S   |  66 ++++++++------
 arch/arm64/lib/memcpy.S         | 179 ++++++------------------------------
 5 files changed, 340 insertions(+), 245 deletions(-)
 create mode 100644 arch/arm64/lib/copy_template.S

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web