On Tue, Mar 16, 2021 at 08:10:33AM -0700, Yu-cheng Yu wrote: > The x86 family of processors do not directly create read-only and Dirty > PTEs. These PTEs are created by software. One such case is that kernel > read-only pages are historically setup as Dirty. > > New processors that support Shadow Stack regard read-only and Dirty PTEs as > shadow stack pages. This results in ambiguity between shadow stack and > kernel read-only pages. To resolve this, removed Dirty from kernel read- > only pages. > > Signed-off-by: Yu-cheng Yu <[email protected]> > Cc: "H. Peter Anvin" <[email protected]> > Cc: Kees Cook <[email protected]> > Cc: Thomas Gleixner <[email protected]> > Cc: Dave Hansen <[email protected]> > Cc: Christoph Hellwig <[email protected]> > Cc: Andy Lutomirski <[email protected]> > Cc: Ingo Molnar <[email protected]> > Cc: Borislav Petkov <[email protected]> > Cc: Peter Zijlstra <[email protected]>
Looks good to me. Reviewed-by: Kirill A. Shutemov <[email protected]> -- Kirill A. Shutemov

