[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180110071804.GA14066@1wt.eu>
Date: Wed, 10 Jan 2018 08:18:04 +0100
From: Willy Tarreau <w@....eu>
To: Ingo Molnar <mingo@...nel.org>
Cc: linux-kernel@...r.kernel.org, x86@...nel.org,
Andy Lutomirski <luto@...nel.org>,
Borislav Petkov <bp@...en8.de>,
Brian Gerst <brgerst@...il.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Josh Poimboeuf <jpoimboe@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, Kees Cook <keescook@...omium.org>
Subject: Re: [RFC PATCH v2 5/6] x86/entry/pti: avoid setting CR3 when it's
already correct
On Wed, Jan 10, 2018 at 08:16:24AM +0100, Ingo Molnar wrote:
>
> * Willy Tarreau <w@....eu> wrote:
>
> > + /* if we're already on the kernel PGD, we don't switch */
> > + * If we're already on the kernel PGD, we don't switch,
> > + * If we saved a kernel context on entry, we didn't switch the CR3,
>
> It's hard enough to read assembly code, please use consistent capitalization:
>
> s/if
> /If
Will do, thanks for the review ;-)
Willy
Powered by blists - more mailing lists