Re: [PATCH v3 01/13] x86/retpoline: Add initial retpoline support

From: Andi Kleen
Date: Fri Jan 05 2018 - 13:05:43 EST


> If the *compiler* uses the out-of-line version, that's a separate
> thing. But for our asm cases, let's just make it all be the inline
> case, ok?

Should be a simple change.

>
> It also should simplify the whole target generation. None of this
> silly "__x86.indirect_thunk.\reg" crap with different targets for
> different register choices.
>
> Hmm?

We need the different thunks anyways for the compiler generated code.
So it won't go away.

-Andi