summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>2021-12-06 20:54:33 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-12-08 04:24:36 -0500
commit44401a204734ce837e0b36c8418af4fad6a21f95 (patch)
treef8c914d6719e885f4170288ef45ba228305e9f69 /security
parentf4209439b522432d140d33393d4a3f12e695527b (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