Re: [PATCH v5 05/12] x86/retpoline/ftrace: Convert ftrace assembler indirect jumps

From: Linus Torvalds
Date: Sat Jan 06 2018 - 20:28:21 EST


On Sat, Jan 6, 2018 at 11:53 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> On Sat, 6 Jan 2018, Linus Torvalds wrote:
>
>>
>> [ Goes off and looks ]
>>
>> Oh. The AMD lfence version wants a register. Oh well.
>
> The register load could be put into the macro itself, though we need to
> supply a scratch register

Yeah, not worth it I suspect. I guess we can live with the register version.

Linus