Re: [PATCH] raise tsc clocksource rating

From: H. Peter Anvin
Date: Mon Oct 29 2007 - 20:18:52 EST


Glauber de Oliveira Costa wrote:
From: Glauber de Oliveira Costa <glauber@xxxxxxxxxxxxxxx>

tsc is very good time source (when it does not have drifts, does not
change it's frequency, i.e. when it works), so it should have its rating
raised to a value greater than, or equal 400.

Since it's being a tendency among paravirt clocksources to use values
around 400, we should declare tsc as even better: So we use 500.

This patch also touches the comments on clocksource.h, which suggests
that 499 would be a limit on the rating values.

Signed-off-by: Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>

Are you sure these paravirt sources don't intentionally trump the TSC?

-hpa

-
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/