Re: [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far

Ingo Molnar
2007-12-30T14:57:55Z

* Mike Galbraith <efault@gmx.de> wrote:

> > Is this after resume ? If yes, then something (probably BIOS) is
> > fiddling with the TSC of one CPU when the resume happens.
>
> My P4 box has the same "problem", which is remedied by..

> - start = get_cycles_sync();
> + start = last_tsc = get_cycles_sync();

this is slightly racy - your second patch that initializes things
properly is the right solution IMO. I'm wondering, if others are seeing
this too, should we make this a v2.6.24 item? It's a bit late for that i
think - although it shouldnt hurt.

Ingo