Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-dm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-dm
  • Repository
Switch branch/tag
  • linux-dm
  • arch
  • x86
  • kvm
  • mmu.c
Find file BlameHistoryPermalink
  • Sean Christopherson's avatar
    Revert "KVM: x86: use the fast way to invalidate all pages" · 7390de1e
    Sean Christopherson authored Feb 05, 2019
    Revert to a slow kvm_mmu_zap_all() for kvm_arch_flush_shadow_all().
    Flushing all shadow entries is only done during VM teardown, i.e.
    kvm_arch_flush_shadow_all() is only called when the associated MM struct
    is being released or when the VM instance is being freed.
    
    Although the performance of teardown itself isn't critical, KVM should
    still voluntarily schedule to play nice with the rest of the kernel;
    but that can be done without the fast invalidate mechanism in a future
    patch.
    
    This reverts commit 6ca18b69
    
    .
    
    Cc: Xiao Guangrong <guangrong.xiao@gmail.com>
    Signed-off-by: default avatarSean Christopherson <sean.j.christopherson@intel.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    7390de1e