Re: [PATCH] x86/asm/entry/64: move opportunistic sysret code to syscall code path

2015-04-07 Thread Borislav Petkov
On Thu, Apr 02, 2015 at 06:46:59PM +0200, Denys Vlasenko wrote: > This change does two things: > > Copy-pastes "retint_swapgs:" code into syscall handling code, > the copy is under "syscall_return:" label. The code is unchanged > apart from some label renames. > > Removes "opportunistic sysret" c

[PATCH] x86/asm/entry/64: move opportunistic sysret code to syscall code path

2015-04-02 Thread Denys Vlasenko
This change does two things: Copy-pastes "retint_swapgs:" code into syscall handling code, the copy is under "syscall_return:" label. The code is unchanged apart from some label renames. Removes "opportunistic sysret" code from "retint_swapgs:" code block, since now it won't be reached by syscall