Messages in this thread | | | Subject | Re: [PATCH] x86/retpoline: Avoid return buffer underflows on context switch | Date | Mon, 8 Jan 2018 23:25:35 +0000 | From | "Woodhouse, David" <> |
| |
On Mon, 2018-01-08 at 23:26 +0100, Peter Zijlstra wrote: > > > is because that might get interpreted as a "push %rip" and not go on > > the RSB at all. Hence the 'pause' between each one. > > OK, then make the comment say that.
Fixed. I've also shifted the #ifdef CONFIG_RETPOLINE to the call sites instead of inside the FILL_RETURN_BUFFER macro itself. This is going to get used with IBRS code too, Real Soon Now™.
http://git.infradead.org/users/dwmw2/linux-retpoline.git/commitdiff/6e961b86558[unhandled content-type:application/x-pkcs7-signature] | |