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

From: Ingo Molnar
Date: Sun Dec 30 2007 - 09:57:56 EST



* Mike Galbraith <efault@xxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/