lkml.org 
[lkml]   [2009]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kmemcheck: disable fast string operations on P4 CPUs
Vegard Nossum wrote:
> This patch may allow us to remove the REP emulation code from
> kmemcheck.

> +#ifdef CONFIG_KMEMCHECK
> + /*
> + * P4s have a "fast strings" feature which causes single-
> + * stepping REP instructions to only generate a #DB on
> + * cache-line boundaries.
> + *
> + * Ingo Molnar reported a Pentium D (model 6) and a Xeon
> + * (model 2) with the same problem.
> + */
> + if (c->x86 == 15) {

If this is supposed to refer to the Intel P4 core, you should exclude
the post-P4 cores that also have x86 == 15 (e.g. Core 2 and Core i7).
If those are affected, too, they should be mentioned in the comment.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.



\
 
 \ /
  Last update: 2009-02-22 04:17    [W:0.045 / U:10.109 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog