Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx> wrote: > > From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx> > > Kernel mappings are historically _PAGE_GLOBAL. But, with PTI, we do not > want them to be _PAGE_GLOBAL. We currently accomplish this by simply > clearing _PAGE_GLOBAL from the suppotred mask which ensures it is > cleansed from many of our PTE construction sites: > > if (!static_cpu_has(X86_FEATURE_PTI)) > __supported_pte_mask |= _PAGE_GLOBAL; > > But, this also means that we now get *no* opportunity to use global > pages with PTI, even for data which is shared such as the cpu_entry_area > and entry/exit text. Doesn’t this patch change the kernel behavior when the “nopti” parameter is used? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href