Re: [PATCH v2.1] x86/retpoline: Fill return stack buffer on vmexit

From: Konrad Rzeszutek Wilk
Date: Fri Jan 26 2018 - 23:24:36 EST


> Looks good to me.
>
> Another IRC discussion was that Boris may eventually add a feature to
> the alternatives code to automatically insert such a jump if there are a
> lot of nops.

I vaguely recall that NOPs are skipped by the CPU so that it shouldn't
matter as compared to say jumping over them. But is that no the case
anymore? Or is it that we have so many NOPs that the prefetcher runs
out of space and stalls?