Re: [PATCH 09/11] x86/pti: enable global pages for shared areas

Dave Hansen
2018-03-23T19:37:01Z

On 03/23/2018 12:12 PM, Nadav Amit wrote:
>> /*
>> + * Setting 'target_pmd' below creates a mapping in both
>> + * the user and kernel page tables. It is effectively
>> + * global, so set it as global in both copies.
>> + */
>> + *pmd = pmd_set_flags(*pmd, _PAGE_GLOBAL);
> if (boot_cpu_has(X86_FEATURE_PGE)) ?

Good catch. I'll update that.