lkml.org 
[lkml]   [2008]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC patch 0/4] TSC calibration improvements
On Sat, 6 Sep 2008, Linus Torvalds wrote:
> > > Just checked. The -tip version still has the expect-- in the for()
> > > which might lead to stupid results depending on the gcc madness level.
> >
> > Umm. What? You're on some odd drugs.
>
> Oh, you mean te "--expect" in the last pit_expect_msb(). Yeah, that one
> looks bogus, but I don't understand what it has to do with gcc at all.

One gcc does:

i++;
if (i >= QUICK_PIT_ITERATIONS)
goto out;
expect--;

The other one does:

i++;
expect--;
if (i >= QUICK_PIT_ITERATIONS)
goto out;

Don't ask me which one is correct. It's just reality :(

/me goes back to consume legal german drugs

tglx


\
 
 \ /
  Last update: 2008-09-06 23:19    [W:0.062 / U:4.976 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site