Messages in this thread | | | Subject | Re: [PATCH 09/11] x86/pti: enable global pages for shared areas | From | Dave Hansen <> | Date | Fri, 23 Mar 2018 12:36:58 -0700 |
| |
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.
| |