[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1305671358-14478-1-git-send-email-fenghua.yu@intel.com>
Date: Tue, 17 May 2011 15:29:09 -0700
From: "Fenghua Yu" <fenghua.yu@...el.com>
To: "Ingo Molnar" <mingo@...e.hu>,
"Thomas Gleixner" <tglx@...utronix.de>,
"H Peter Anvin" <hpa@...or.com>,
"Asit K Mallick" <asit.k.mallick@...el.com>,
"Linus Torvalds" <torvalds@...ux-foundation.org>,
"Avi Kivity" <avi@...hat.com>,
"Arjan van de Ven" <arjan@...radead.org>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Andi Kleen" <andi@...stfloor.org>
Cc: "linux-kernel" <linux-kernel@...r.kernel.org>,
"Fenghua Yu" <fenghua.yu@...el.com>
Subject: [PATCH 0/9] Optimize string operations by enhanced REP MOVSB/STOSB
From: Fenghua Yu <fenghua.yu@...el.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists