Re: [PATCH v2 0/3] x86/vdso: Add Hyper-V TSC page clocksource support

From: Thomas Gleixner
Date: Tue Feb 14 2017 - 09:57:55 EST


On Tue, 14 Feb 2017, Vitaly Kuznetsov wrote:

> Hi,
>
> while we're still waiting for a definitive ACK from Microsoft that the
> algorithm is good for SMP case (as we can't prevent the code in vdso from
> migrating between CPUs) I'd like to send v2 with some modifications to keep
> the discussion going.

Migration is irrelevant. The TSC page is guest global so updates will
happen on some (random) host CPU and therefor you need the usual barriers
like we have them in our seqcounts unless an access to the sequence will
trap into the host, which would defeat the whole purpose of the TSC page.

Thanks,

tglx