From: David Miller <davem@davemloft.net>
To: fenghua.yu@intel.com
Cc: mingo@elte.hu, tglx@linutronix.de, hpa@zytor.com,
andi@firstfloor.org, linux-kernel@vger.kernel.org,
x86@kernel.org
Subject: Re: [PATCH] x86/copy_user_generic: Optimize copy_user_generic with CPU erms feature
Date: Thu, 24 May 2012 21:50:19 -0400 (EDT) [thread overview]
Message-ID: <20120524.215019.1013474044821595274.davem@davemloft.net> (raw)
In-Reply-To: <1337908785-14015-1-git-send-email-fenghua.yu@intel.com>
From: "Fenghua Yu" <fenghua.yu@intel.com>
Date: Thu, 24 May 2012 18:19:45 -0700
> According to Intel 64 and IA-32 SDM and Optimization Reference
> Manual, beginning with Ivybridge, REG string operation using MOVSB
> and STOSB can provide both flexible and high-performance REG string
> operations in cases like memory copy. Enhancement availability is
> indicated by CPUID.7.0.EBX[9] (Enhanced REP MOVSB/ STOSB).
How does the cpu do overlap detection?
If the cpu does overlap detection on sub-pagesize bits, performance
will unnecessarily suffer under such circumstances.
next prev parent reply other threads:[~2012-05-25 1:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-25 1:19 Fenghua Yu
2012-05-25 1:50 ` David Miller [this message]
2012-05-25 2:47 ` Yu, Fenghua
2012-05-25 3:19 ` David Miller
2012-06-06 9:52 ` Ingo Molnar
2012-06-29 23:43 ` [tip:x86/asm] " tip-bot for Fenghua Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120524.215019.1013474044821595274.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andi@firstfloor.org \
--cc=fenghua.yu@intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®