Re: [RFC PTI 1/3] x86/pti: Vastly simplify pgd synchronization

From: Dave Hansen
Date: Fri Dec 08 2017 - 15:52:46 EST


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.