summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-12-09 11:44:25 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-12-17 17:33:48 +0100
commit612263cf33062f7441a5d0e3b37c65991fdc3210 (patch)
treeb2f6e1e60a93546ac7e96647b67b113b102841fb /exec.c
parenta676854f3447019c7c4b005ab6aece905fccfddd (diff)
downloadqemu-612263cf33062f7441a5d0e3b37c65991fdc3210.tar.gz
qemu-612263cf33062f7441a5d0e3b37c65991fdc3210.tar.bz2
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 'exec.c')
0 files changed, 0 insertions, 0 deletions