On Sat, Sep 15, 2007 at 10:40:26AM +0400, Serge Belyshev wrote:
quoted text > Andi Kleen <ak@suse.de> writes:
>
> >> This can be fixed better by using gcc's __builtin_prefetch().
> >
> > I changed it to just use that. Thanks.
> >
> > It seems like gcc 3.1/3.2 already supported it and that's the earliest gcc
> > still supported so it can be used unconditionally.
> >
>
> Hi!
>
> Will you submit this patch for inclusion into 2.6.23? It is important
Didn't plan it currently.
quoted text > to make kernel work with GCC 4.3 and above. (Also note that gcc 4.2 already
> smart enough to break that code, but kernel is just lucky currently).
How would it break the code exactly? It more sounded like an optimization
to me. Would it generate incorrect code without it?
-Andi
-
unsubscribe notice 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/
Messages in current thread:
Re: [PATCH]: x86_64: Remove unnecessary cast in prefetch() , Andi Kleen , (Sat Sep 15, 4:01 pm)