Messages in this thread | | | Subject | Re: [PATCH] Small optimization for UP in sched and prefetch | From | Robert Love <> | Date | 11 Jan 2002 14:59:20 -0500 |
| |
On Fri, 2002-01-11 at 05:33, Rainer Keller wrote:
> -/* Prefetch instructions for Pentium III and AMD Athlon */ > -#ifdef CONFIG_MPENTIUMIII > +/* Prefetch instructions for Pentium III, Pentium 4 and AMD Athlon */ > +#if defined(CONFIG_MPENTIUMIII) || defined(CONFIG_MPENTIUM4)
if we really intend to check for the use of the AMD Athlon as well, we need to add CONFIG_MK7, too. Since the Athlon does have this prefetch, it would make sense. Otherwise, the comment is wrong.
Anyhow, good patch and I can't see it not being safe for 2.4.
Robert Love
- 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/
| |