[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070915200117.GC14501@one.firstfloor.org>
Date: Sat, 15 Sep 2007 22:01:17 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Serge Belyshev <belyshev@...ni.sinp.msu.ru>
Cc: Andi Kleen <ak@...e.de>, patches@...-64.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH]: x86_64: Remove unnecessary cast in prefetch()
On Sat, Sep 15, 2007 at 10:40:26AM +0400, Serge Belyshev wrote:
> Andi Kleen <ak@...e.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.
> 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
-
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