Re: [PATCH v2 06/12] x86/paravirt: switch time pvops functions to use static_call()

From: Peter Zijlstra
Date: Fri Nov 20 2020 - 07:03:17 EST


On Fri, Nov 20, 2020 at 12:46:24PM +0100, Juergen Gross wrote:
> The time pvops functions are the only ones left which might be
> used in 32-bit mode and which return a 64-bit value.
>
> Switch them to use the static_call() mechanism instead of pvops, as
> this allows quite some simplification of the pvops implementation.
>
> Due to include hell this requires to split out the time interfaces
> into a new header file.

There's also this patch floating around; just in case that would come in
handy:

https://lkml.kernel.org/r/20201110005609.40989-3-frederic@xxxxxxxxxx