Re: [PATCH 0/2] Make the TSC safe to be used by gettimeofday().

From: Christoph Lameter
Date: Tue Nov 14 2006 - 16:28:30 EST


On Mon, 13 Nov 2006, Suleiman Souhlal wrote:

> I believe that the results returned will always be monotonic, as long as the
> frequency of the TSC does not change from under us (that is, without the
> kernel knowing). This is because we "synchronize" each CPU's vxtime with a
> global time source (HPET) every time we know the TSC rate changes.

TSC frequencies of different clocks coming with multiple
processors may vary which creates a differential even if they are
initially synchronized.
-
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/