diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-09 11:44:25 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-17 17:33:48 +0100 |
commit | 612263cf33062f7441a5d0e3b37c65991fdc3210 (patch) | |
tree | b2f6e1e60a93546ac7e96647b67b113b102841fb /crypto/desrfb.c | |
parent | a676854f3447019c7c4b005ab6aece905fccfddd (diff) | |
download | qemu-612263cf33062f7441a5d0e3b37c65991fdc3210.zip |
memory: avoid unnecessary object_ref/unref
For the common case of DMA into non-hotplugged RAM, it is unnecessary
but expensive to do object_ref/unref. Add back an owner field to
MemoryRegion, so that these memory regions can skip the reference
counting.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'crypto/desrfb.c')
0 files changed, 0 insertions, 0 deletions