Re: [PATCH] i386: fix TSC clock source calibration error [part 2]

From: Ingo Molnar
Date: Mon Oct 22 2007 - 07:42:29 EST



* Dave Johnson <djohnson+linux-kernel@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> The previous patch wasn't correctly handling the 'count' variable. If
> a CPU gave bad results on the 1st or 2nd run but good results on the
> 3rd, it wouldn't do the correct thing. No idea if any such CPU
> exists, but the patch below handles that case by discarding the bad
> runs.
>
> If a bad result (too quick, or too slow) occurs on any of the 3 runs
> it will be discarded.
>
> Also updated some comments to explain what's going on.

thanks - applied in addition to your previous patch.

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/