[lkml]   [2017]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 03/18] x86/asm/64: Move SWAPGS into the common iret-to-usermode path
On Thu, Oct 26, 2017 at 4:26 AM, Andy Lutomirski <> wrote:
> All of the code paths that ended up doing IRET to usermode did
> SWAPGS immediately beforehand. Move the SWAPGS into the common
> code.
> Signed-off-by: Andy Lutomirski <>

> +GLOBAL(swapgs_restore_regs_and_return_to_usermode)

Is adding swapgs to the label really necessary? It's redundant with
the usermode part. I'm noticing a trend towards absurdly verbose
labels lately.

Brian Gerst

 \ /
  Last update: 2017-10-26 15:53    [W:0.229 / U:0.036 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site