Re: [PATCH v3 10/13] x86/retpoline/pvops: Convert assembler indirect jumps

From: Woodhouse, David
Date: Thu Jan 04 2018 - 10:13:21 EST


On Thu, 2018-01-04 at 16:02 +0100, Juergen Gross wrote:
> On 04/01/18 15:37, David Woodhouse wrote:
> > Convert pvops invocations to use non-speculative call sequences, when
> > CONFIG_RETPOLINE is enabled.
>
> > There is scope for future optimisation here â once the pvops methods are
> > actually set, we could just turn the damn things into *direct* jumps.
> > But this is perfectly sufficient for now, without that added complexity