On Thu, Jan 13, 2022, David Matlack wrote: > When handling the changed_pte notifier and the new PTE is read-only, > clear both the Host-writable and MMU-writable bits in the SPTE. This > preserves the invariant that MMU-writable is set if-and-only-if > Host-writable is set. > > No functional change intended. Nothing currently relies on the > afformentioned invariant and technically the changed_pte notifier is > dead code. > > Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx> > --- Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>