Re: [PATCH] x86/retpoline: Also fill return buffer after idle

From: Andi Kleen
Date: Mon Jan 08 2018 - 19:24:21 EST


> Probably doesn't matter right there but it's going to end up being used
> elsewhere with IBRS/IBPB, and the compiler is going to think it needs
> to save all the call-clobbered registers for that. Do we want to make
> it use inline asm instead?

You mean KVM?

All the other places have lots of other calls too, so the registers are likely
already clobbered.

-Andi