[PATCH v5 1/2] timer: lower rounding of TSC estimation to 100KHz

Bruce Richardson bruce.richardson at intel.com
Thu Oct 3 16:05:02 CEST 2024


On Thu, Oct 03, 2024 at 03:26:03PM +0300, Isaac Boukris wrote:
> In practice, the frequency is often not a nice round number, while
> the estimation results are rather accurate, just a couple of KHz
> away from the kernel's tsc_khz value, so it should suffice.
> 
> Rounding to 10MHz can cause a significant drift from real time,
> up to a second per 10 minutes.
> 
> See also bugzilla: 959
> 
> Signed-off-by: Isaac Boukris <iboukris at gmail.com>

Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list