diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-09-13 05:46:07 +0300 | 
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-24 15:35:35 +0300 | 
| commit | fbb158cb88b6e4f8279707a1842ee0332f64b1a3 (patch) | |
| tree | b37438e6dc9823c893a6b77416a3ef33b4abe920 /scripts/gdb/linux/proc.py | |
| parent | 14a3c4f498edac65ce2ff1f05d849cd72e886d78 (diff) | |
| download | linux-fbb158cb88b6e4f8279707a1842ee0332f64b1a3.tar.xz | |
KVM: x86/mmu: Revert "Revert "KVM: MMU: zap pages in batch""
Now that the fast invalidate mechanism has been reintroduced, restore
the performance tweaks for fast invalidation that existed prior to its
removal.
Paraphrashing the original changelog:
  Zap at least 10 shadow pages before releasing mmu_lock to reduce the
  overhead associated with re-acquiring the lock.
  Note: "10" is an arbitrary number, speculated to be high enough so
  that a vCPU isn't stuck zapping obsolete pages for an extended period,
  but small enough so that other vCPUs aren't starved waiting for
  mmu_lock.
This reverts commit 43d2b14b105fb00b8864c7b0ee7043cc1cc4a969.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
