[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87386e3b-f5a5-2481-9611-ce993314347a@intel.com>
Date: Fri, 8 Dec 2017 12:48:25 -0800
From: Dave Hansen <dave.hansen@...el.com>
To: Andy Lutomirski <luto@...nel.org>
Cc: X86 ML <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Borislav Petkov <bp@...en8.de>,
Brian Gerst <brgerst@...il.com>,
David Laight <David.Laight@...lab.com>,
Kees Cook <keescook@...omium.org>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [RFC PTI 1/3] x86/pti: Vastly simplify pgd synchronization
On 12/08/2017 12:49 PM, Andy Lutomirski wrote:
>> if ((pgd.pgd & (_PAGE_USER|_PAGE_PRESENT)) &&
>> (__supported_pte_mask & _PAGE_NX))
> I assume you mean pgd.pgd & (_PAGE_USER|_PAGE_PRESENT) ==
> (_PAGE_USER|_PAGE_PRESENT)?
Yeah.
Powered by blists - more mailing lists