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

From: Jürgen Groß
Date: Fri Nov 20 2020 - 07:08:25 EST


On 20.11.20 13:01, Peter Zijlstra wrote:
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


Ah, yes. This would make life much easier.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature