diff options
author | Maciej S. Szmigiero <maciej.szmigiero@oracle.com> | 2021-12-06 20:54:33 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-08 04:24:36 -0500 |
commit | 44401a204734ce837e0b36c8418af4fad6a21f95 (patch) | |
tree | f8c914d6719e885f4170288ef45ba228305e9f69 /security | |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions