lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100522105859.41bc754d@daedalus.pq.iki.fi>
Date:	Sat, 22 May 2010 10:58:59 +0300
From:	Pekka Paalanen <pq@....fi>
To:	Akinobu Mita <akinobu.mita@...il.com>
Cc:	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org
Subject: Re: [PATCH] x86/mmiotrace: remove redundant instruction prefix
 checks

On Tue, 18 May 2010 08:48:30 +0900
Akinobu Mita <akinobu.mita@...il.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@...il.com>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Ingo Molnar <mingo@...hat.com>
> Cc: "H. Peter Anvin" <hpa@...or.com>
> Cc: x86@...nel.org

Acked-by: Pekka Paalanen <pq@....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@...r.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/
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ