diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-03-18 14:21:43 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-30 16:55:32 +0200 |
commit | 41063e1e7afcb2f13e103720fe96221657f5dbbc (patch) | |
tree | ce78dca7d90917ffc9bfe45fcec5dfba0f8a9320 /target-xtensa/overlay_tool.h | |
parent | 4c6637525290dc863a00be7f58fc11d07b780bd4 (diff) | |
download | qemu-41063e1e7afcb2f13e103720fe96221657f5dbbc.zip qemu-41063e1e7afcb2f13e103720fe96221657f5dbbc.tar.gz qemu-41063e1e7afcb2f13e103720fe96221657f5dbbc.tar.bz2 |
exec: move rcu_read_lock/unlock to address_space_translate callers
Once address_space_translate will be called outside the BQL, the returned
MemoryRegion might disappear as soon as the RCU read-side critical section
ends. Avoid this by moving the critical section to the callers.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1426684909-95030-3-git-send-email-pbonzini@redhat.com>
Diffstat (limited to 'target-xtensa/overlay_tool.h')
0 files changed, 0 insertions, 0 deletions