linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V5 0/2] copy to/in/from user optimization
@ 2015-09-23 18:55 Feng Kan
  2015-09-23 18:55 ` [PATCH V5 1/2] arm64: Change memcpy in kernel to use the copy template file Feng Kan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Feng Kan @ 2015-09-23 18:55 UTC (permalink / raw)
  To: patches, linux-arm-kernel, linux-kernel, philipp.tomsich,
	dann.frazier, tim.gardner, craig.magina, soni.trilok.oss
  Cc: Feng Kan

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 first 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.

V5 Changes:
   1. Switch patch ordering.
   2. Simplify assembly code and use fixed large tags in marco
   3. Fixed indentation issue.

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

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

-- 
1.9.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-06 15:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-23 18:55 [PATCH V5 0/2] copy to/in/from user optimization Feng Kan
2015-09-23 18:55 ` [PATCH V5 1/2] arm64: Change memcpy in kernel to use the copy template file Feng Kan
2015-09-23 18:55 ` [PATCH V5 2/2] arm64: copy_to-from-in_user optimization using copy template Feng Kan
2015-10-06 15:37 ` [PATCH V5 0/2] copy to/in/from user optimization Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).