• Chao Peng's avatar
    KVM: Rename mmu_notifier_* to mmu_invalidate_* · 20ec3ebd
    Chao Peng authored
    The motivation of this renaming is to make these variables and related
    helper functions less mmu_notifier bound and can also be used for non
    mmu_notifier based page invalidation. mmu_invalidate_* was chosen to
    better describe the purpose of 'invalidating' a page that those
    variables are used for.
    
      - mmu_notifier_seq/range_start/range_end are renamed to
        mmu_invalidate_seq/range_start/range_end.
    
      - mmu_notifier_retry{_hva} helper functions are renamed to
        mmu_invalidate_retry{_hva}.
    
      - mmu_notifier_count is renamed to mmu_invalidate_in_progress to
        avoid confusion with mn_active_invalidate_count.
    
      - While here, also update kvm_inc/dec_notifier_count() to
        kvm_mmu_invalidate_begin/end() to match the change for
        mmu_notifier_count.
    
    No functional change intended.
    Signed-off-by: default avatarChao Peng <chao.p.peng@linux.intel.com>
    Message-Id: <20220816125322.1110439-3-chao.p.peng@linux.intel.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    20ec3ebd
e500_mmu_host.c 21 KB