memory: let address_space_rw/ld*/st* run outside the BQL
commit4840f10eff37eebc609fcc933ab985dc66df95c6
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 18 Jun 2015 16:47:22 +0000 (18 18:47 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 1 Jul 2015 13:45:51 +0000 (1 15:45 +0200)
tree6eb60eba00905c10779a30e12f19ea48b08b9da4
parent125b3806668106667dd2ae049593852859e12b63
memory: let address_space_rw/ld*/st* run outside the BQL

The MMIO case is further broken up in two cases: if the caller does not
hold the BQL on invocation, the unlocked one takes or avoids BQL depending
on the locking strategy of the target memory region and its coalesced
MMIO handling.  In this case, the caller should not hold _any_ lock
(a friendly suggestion which is disregarded by virtio-scsi-dataplane).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Frederic Konrad <fred.konrad@greensocs.com>
Message-Id: <1434646046-27150-6-git-send-email-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c