[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] viridian: unify time sources



>>> On 11.06.19 at 19:01, <paul.durrant@xxxxxxxxxx> wrote:
> @@ -77,6 +76,7 @@ static void update_reference_tsc(struct domain *d, bool 
> initialize)
>       * ticks per 100ns shifted left by 64.
>       */
>      p->TscScale = ((10000ul << 32) / d->arch.tsc_khz) << 32;
> +    p->TscOffset = trc->off;
>      smp_wmb();

Even having written the description it's not immediately obvious
to me why this is an okay change to make, not the least when
thinking about a guest migrating in from an older version. At the
very least don't you think the comment above may want slightly
extending?

Everything else looks plausible to me.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.