Re: [PATCH] x86/TSC: Use RDTSCP

From: H. Peter Anvin
Date: Mon Nov 19 2018 - 15:17:52 EST


On 11/19/18 11:52 AM, Andy Lutomirski wrote:
>
> I thought I benchmarked this on Intel at some point and found the
> LFENCE;RDTSC variant to be slightly faster. But I believe you, so:
>
> Acked-by: Andy Lutomirski <luto@xxxxxxxxxx>
>

As long as the difference isn't significant, the simplicity would seem to be a
win.

-hpa