mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pekka Paalanen <pq@iki.fi>
To: Akinobu Mita <akinobu.mita@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
	x86@kernel.org
Subject: Re: [PATCH] x86/mmiotrace: remove redundant instruction prefix checks
Date: Sat, 22 May 2010 10:58:59 +0300	[thread overview]
Message-ID: <20100522105859.41bc754d@daedalus.pq.iki.fi> (raw)
In-Reply-To: <1274140110-5841-1-git-send-email-akinobu.mita@gmail.com>

On Tue, 18 May 2010 08:48:30 +0900
Akinobu Mita <akinobu.mita@gmail.com> wrote:

> Get rid of the duplicated entries in prefix_codes[] to eliminate
> redundant checks by skip_prefix().
> 
> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: x86@kernel.org

Acked-by: Pekka Paalanen <pq@iki.fi>

> ---
>  arch/x86/mm/pf_in.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/x86/mm/pf_in.c b/arch/x86/mm/pf_in.c
> index df3d5c8..308e325 100644
> --- a/arch/x86/mm/pf_in.c
> +++ b/arch/x86/mm/pf_in.c
> @@ -34,7 +34,7 @@
>  /* IA32 Manual 3, 2-1 */
>  static unsigned char prefix_codes[] = {
>  	0xF0, 0xF2, 0xF3, 0x2E, 0x36, 0x3E, 0x26, 0x64,
> -	0x65, 0x2E, 0x3E, 0x66, 0x67
> +	0x65, 0x66, 0x67
>  };
>  /* IA32 Manual 3, 3-432*/
>  static unsigned int reg_rop[] = {
> -- 
> 1.6.0.6
> 
> --
> 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/
> 


-- 
Pekka Paalanen
http://www.iki.fi/pq/

  reply	other threads:[~2010-05-22  7:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17 23:48 Akinobu Mita
2010-05-22  7:58 ` Pekka Paalanen [this message]
2010-05-23  9:25 ` [tip:perf/core] x86/mmiotrace: Remove " tip-bot for Akinobu Mita

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=20100522105859.41bc754d@daedalus.pq.iki.fi \
    --to=pq@iki.fi \
    --cc=akinobu.mita@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --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®