diff options
author | Sean Christopherson <seanjc@google.com> | 2021-12-06 20:54:22 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-08 10:24:28 +0100 |
commit | 7cd08553ab103a7ebca79035eb35b73418b2f475 (patch) | |
tree | 5af0292c8f44367b477b9a2050258c4200eee7d1 /usr | |
parent | KVM: s390: Skip gfn/size sanity checks on memslot DELETE or FLAGS_ONLY (diff) | |
download | linux-7cd08553ab103a7ebca79035eb35b73418b2f475.tar.xz linux-7cd08553ab103a7ebca79035eb35b73418b2f475.zip |
KVM: Don't make a full copy of the old memslot in __kvm_set_memory_region()
Stop making a full copy of the old memslot in __kvm_set_memory_region()
now that metadata updates are handled by kvm_set_memslot(), i.e. now that
the old memslot's dirty bitmap doesn't need to be referenced after the
memslot and its pointer is modified/invalidated by kvm_set_memslot().
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Message-Id: <5dce0946b41bba8c83f6e3424c6955c56bcc9f86.1638817640.git.maciej.szmigiero@oracle.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions