All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] Optimize string operations by enhanced REP MOVSB/STOSB
@ 2011-05-17 22:29 Fenghua Yu
  2011-05-17 22:29 ` [PATCH 1/9] x86, cpu: Enable enhanced REP MOVSB/STOSB feature Fenghua Yu
                   ` (8 more replies)
  0 siblings, 9 replies; 30+ messages in thread
From: Fenghua Yu @ 2011-05-17 22:29 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, H Peter Anvin, Asit K Mallick,
	Linus Torvalds, Avi Kivity, Arjan van de Ven, Andrew Morton,
	Andi Kleen
  Cc: linux-kernel, Fenghua Yu

From: Fenghua Yu <fenghua.yu@intel.com>

Intel processors are adding enhancements to REP MOVSB/STOSB and the use of
REP MOVSB/STOSB for optimal memcpy/memset or similar functions is recommended.
Enhancement availability is indicated by CPUID.7.0.EBX[9] (Enhanced REP MOVSB/STOSB).

Intel 64 and IA-32 SDM and performance optimization guide may include more model
specific information and how the feature can be used. The documents will be
published soon.

Fenghua Yu (9):
  x86, cpu: Enable enhanced REP MOVSB/STOSB feature
  x86/kernel/cpu/intel.c: Initialize Enhanced REP MOVSB/STOSBenhanced
  x86/kernel/alternative.c: Add comment for applying alternatives order
  x86, alternative-asm.h: Add altinstruction_entry macro
  x86/lib/clear_page_64.S: Support clear_page() with enhanced REP
    MOVSB/STOSB
  x86/lib/copy_user_64.S: Support copy_to_user/copy_from_user by
    enhanced REP MOVSB/STOSB
  x86/lib/memcpy_64.S: Optimize memcpy by enhanced REP MOVSB/STOSB
  x86/lib/memmove_64.S: Optimize memmove by enhanced REP MOVSB/STOSB
  x86/lib/memset_64.S: Optimize memset by enhanced REP MOVSB/STOSB

 arch/x86/include/asm/alternative-asm.h |    9 ++++
 arch/x86/include/asm/cpufeature.h      |    1 +
 arch/x86/kernel/alternative.c          |    9 ++++
 arch/x86/kernel/cpu/intel.c            |   19 +++++++--
 arch/x86/lib/clear_page_64.S           |   33 ++++++++++++----
 arch/x86/lib/copy_user_64.S            |   65 +++++++++++++++++++++++++++-----
 arch/x86/lib/memcpy_64.S               |   45 ++++++++++++++++------
 arch/x86/lib/memmove_64.S              |   29 ++++++++++++++-
 arch/x86/lib/memset_64.S               |   54 ++++++++++++++++++++------
 9 files changed, 215 insertions(+), 49 deletions(-)

-- 
1.7.2


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

end of thread, other threads:[~2011-05-18 20:43 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-17 22:29 [PATCH 0/9] Optimize string operations by enhanced REP MOVSB/STOSB Fenghua Yu
2011-05-17 22:29 ` [PATCH 1/9] x86, cpu: Enable enhanced REP MOVSB/STOSB feature Fenghua Yu
2011-05-17 23:13   ` [tip:x86/cpufeature] x86, cpufeature: Add CPU feature bit for enhanced REP MOVSB/STOSB tip-bot for Fenghua Yu
2011-05-17 22:29 ` [PATCH 2/9] x86/kernel/cpu/intel.c: Initialize Enhanced REP MOVSB/STOSBenhanced Fenghua Yu
2011-05-18  2:46   ` Andi Kleen
2011-05-18  3:47     ` H. Peter Anvin
2011-05-18 20:40   ` [tip:perf/core] x86, mem, intel: Initialize Enhanced REP MOVSB/STOSB tip-bot for Fenghua Yu
2011-05-17 22:29 ` [PATCH 3/9] x86/kernel/alternative.c: Add comment for applying alternatives order Fenghua Yu
2011-05-18 20:40   ` [tip:perf/core] x86, alternative, doc: " tip-bot for Fenghua Yu
2011-05-17 22:29 ` [PATCH 4/9] x86, alternative-asm.h: Add altinstruction_entry macro Fenghua Yu
2011-05-18 20:41   ` [tip:perf/core] x86, alternative: " tip-bot for Fenghua Yu
2011-05-17 22:29 ` [PATCH 5/9] x86/lib/clear_page_64.S: Support clear_page() with enhanced REP MOVSB/STOSB Fenghua Yu
2011-05-18 20:41   ` [tip:perf/core] x86, mem: clear_page_64.S: " tip-bot for Fenghua Yu
2011-05-17 22:29 ` [PATCH 6/9] x86/lib/copy_user_64.S: Support copy_to_user/copy_from_user by " Fenghua Yu
2011-05-18 20:42   ` [tip:perf/core] x86, mem: copy_user_64.S: Support copy_to/from_user " tip-bot for Fenghua Yu
2011-05-17 22:29 ` [PATCH 7/9] x86/lib/memcpy_64.S: Optimize memcpy " Fenghua Yu
2011-05-18  6:35   ` Ingo Molnar
2011-05-18 19:04     ` Yu, Fenghua
2011-05-18 20:42   ` [tip:perf/core] x86, mem: memcpy_64.S: " tip-bot for Fenghua Yu
2011-05-17 22:29 ` [PATCH 8/9] x86/lib/memmove_64.S: Optimize memmove " Fenghua Yu
2011-05-18 20:43   ` [tip:perf/core] x86, mem: memmove_64.S: " tip-bot for Fenghua Yu
2011-05-17 22:29 ` [PATCH 9/9] x86/lib/memset_64.S: Optimize memset " Fenghua Yu
2011-05-18  2:57   ` Andi Kleen
2011-05-18  3:09     ` Yu, Fenghua
2011-05-18  4:05       ` Andi Kleen
2011-05-18 18:33         ` Yu, Fenghua
2011-05-18 18:39           ` Andi Kleen
2011-05-18 18:47             ` Ingo Molnar
2011-05-18 18:49             ` Yu, Fenghua
2011-05-18 20:43   ` [tip:perf/core] x86, mem: memset_64.S: " tip-bot for Fenghua Yu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.