diff options
author | Maciej S. Szmigiero <maciej.szmigiero@oracle.com> | 2021-12-06 20:54:32 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-08 04:24:35 -0500 |
commit | f4209439b522432d140d33393d4a3f12e695527b (patch) | |
tree | a95ca9d477a9ec9f7e47a29d31b3d701e06e2a2c /virt | |
parent | bcb63dcde829945487bad4917b614c28aaa59141 (diff) |
KVM: Optimize gfn lookup in kvm_zap_gfn_range()
Introduce a memslots gfn upper bound operation and use it to optimize
kvm_zap_gfn_range().
This way this handler can do a quick lookup for intersecting gfns and won't
have to do a linear scan of the whole memslot set.
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Message-Id: <ef242146a87a335ee93b441dcf01665cb847c902.1638817641.git.maciej.szmigiero@oracle.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions