RE: [PATCH v2 03/14] x86/retpoline: Simplify retpolines

2021-03-22 Thread David Laight
From: Peter Zijlstra > Sent: 22 March 2021 09:33 > > On Fri, Mar 19, 2021 at 05:18:14PM +, David Laight wrote: > > From: Peter Zijlstra > > > Sent: 18 March 2021 17:11 > > > > > > Due to commit c9c324dc22aa ("objtool: Support stack layout changes > > > in alternatives"), it is possible to simp

Re: [PATCH v2 03/14] x86/retpoline: Simplify retpolines

2021-03-22 Thread Peter Zijlstra
On Fri, Mar 19, 2021 at 05:18:14PM +, David Laight wrote: > From: Peter Zijlstra > > Sent: 18 March 2021 17:11 > > > > Due to commit c9c324dc22aa ("objtool: Support stack layout changes > > in alternatives"), it is possible to simplify the retpolines. > > > ... > > Notice that since the longe

RE: [PATCH v2 03/14] x86/retpoline: Simplify retpolines

2021-03-19 Thread David Laight
From: Peter Zijlstra > Sent: 18 March 2021 17:11 > > Due to commit c9c324dc22aa ("objtool: Support stack layout changes > in alternatives"), it is possible to simplify the retpolines. > ... > Notice that since the longest alternative sequence is now: > >0: e8 07 00 00 00 callq c