On Fri, Nov 19, 2021 at 11:57:45PM +0000, David Matlack wrote: > rmap_write_protect is a poor name because we may not even touch the rmap > if the TDP MMU is in use. It is also confusing that rmap_write_protect > is not a simpler wrapper around __rmap_write_protect, since that is the > typical flow for functions with double-underscore names. > > Rename it to kvm_vcpu_write_protect_gfn to convey that we are > write-protecting a specific gfn in the context of a vCPU. > > No functional change intended. > > Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx> Reviewed-by: Peter Xu <peterx@xxxxxxxxxx> -- Peter Xu