Re: [PATCH 4/4] KVM: x86: track actual TSC frequency from the timekeeper struct

From: Paolo Bonzini
Date: Fri Feb 19 2016 - 10:54:06 EST




On 19/02/2016 15:12, Marcelo Tosatti wrote:
>
>> > I need to check how often the timekeeper updates the parameters.
> I'd assume once every tick, the function is called (the notifier).
>
> But you can optimize that away by only updating the TSC frequency
> when mult/shift are updated, which should be much rarer.

Yes, exactly. That would still not be rate limiting.

But worst case it can be a lot of adjustments, up to HZ per second...

Paolo