diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-06-23 12:35:40 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-08 16:21:51 -0400 |
commit | 6b82ef2c9cf18a48726e4bb359aa9014632f6466 (patch) | |
tree | 1d8e645083432dbdec9e3bb5c04faaeecaa927e4 /include/linux/elf-fdpic.h | |
parent | f95eec9bed76d42194c23153cb1cc8f186bf91cb (diff) |
KVM: x86/mmu: Batch zap MMU pages when recycling oldest pages
Collect MMU pages for zapping in a loop when making MMU pages available,
and skip over active roots when doing so as zapping an active root can
never immediately free up a page. Batching the zapping avoids multiple
remote TLB flushes and remedies the issue where the loop would bail
early if an active root was encountered.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200623193542.7554-3-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/elf-fdpic.h')
0 files changed, 0 insertions, 0 deletions