commit | 44401a204734ce837e0b36c8418af4fad6a21f95 | [log] [tgz] |
---|---|---|
author | Maciej S. Szmigiero <maciej.szmigiero@oracle.com> | Mon Dec 06 20:54:33 2021 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Dec 08 04:24:36 2021 -0500 |
tree | f8c914d6719e885f4170288ef45ba228305e9f69 | |
parent | f4209439b522432d140d33393d4a3f12e695527b [diff] |
KVM: Optimize overlapping memslots check Do a quick lookup for possibly overlapping gfns when creating or moving a memslot instead of performing a linear scan of the whole memslot set. Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com> [sean: tweaked params to avoid churn in future cleanup] Reviewed-by: Sean Christopherson <seanjc@google.com> Message-Id: <a4795e5c2f624754e9c0aab023ebda1966feb3e1.1638817641.git.maciej.szmigiero@oracle.com>