[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180110071624.gllkdls2eo7jfhaf@gmail.com>
Date: Wed, 10 Jan 2018 08:16:24 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Willy Tarreau <w@....eu>
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
* 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
Thanks,
Ingo
Powered by blists - more mailing lists