Re: [PATCH] x86/TSC: Use RDTSCP

From: Thomas Gleixner
Date: Fri Nov 23 2018 - 15:44:37 EST


On Fri, 23 Nov 2018, hpa@xxxxxxxxx wrote:
> On November 23, 2018 12:03:07 PM PST, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> ># first bad commit: [2e94061096c5c3aa6c3fe3ec2bec176c1f9c1b07] x86/TSC:
> >Use RDTSCP
>
> Right, because that cpu predates RDTSCP, so it needs to use a fallback.

Well, that's not the problem.

The default here is MFENCE; RDTSC; But P3 does not have MFENCE either :)

We need alternative_3 with default RDTSC

Thanks,

tglx