[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrX7TYyYHr-Z_MF5zxbbqb-FHMhezjFDBsKiKQgwPYGHew@mail.gmail.com>
Date: Fri, 27 Oct 2017 08:44:19 -0700
From: Andy Lutomirski <luto@...nel.org>
To: Borislav Petkov <bp@...e.de>
Cc: Dave Hansen <dave.hansen@...el.com>,
Brian Gerst <brgerst@...il.com>,
Andy Lutomirski <luto@...nel.org>, X86 ML <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 03/18] x86/asm/64: Move SWAPGS into the common
iret-to-usermode path
On Thu, Oct 26, 2017 at 7:28 AM, Borislav Petkov <bp@...e.de> wrote:
> On Thu, Oct 26, 2017 at 07:13:32AM -0700, Dave Hansen wrote:
>> I kinda appreciate the verbosity. When I see a jump to such a label, I
>
> Sorry but this and other labels' names are just ridiculously long.
> swapgs_restore_regs_return or swapgs_restore or somesuch are perfectly
> fine.
>
Hmm. I'm kind of tempted to rename it to exit_to_usermode. After
all, it's the thing you call after prepare_exit_to_usermode, and its
preconditions rather nontrivial and are quite likely to become even
less trivial in the future.
Powered by blists - more mailing lists