]> Git Repo - qemu.git/commit
exec: move rcu_read_lock/unlock to address_space_translate callers
authorPaolo Bonzini <[email protected]>
Wed, 18 Mar 2015 13:21:43 +0000 (14:21 +0100)
committerPaolo Bonzini <[email protected]>
Thu, 30 Apr 2015 14:55:32 +0000 (16:55 +0200)
commit41063e1e7afcb2f13e103720fe96221657f5dbbc
treece78dca7d90917ffc9bfe45fcec5dfba0f8a9320
parent4c6637525290dc863a00be7f58fc11d07b780bd4
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 <[email protected]>
Message-Id: <1426684909[email protected]>
exec.c
hw/vfio/common.c
include/exec/memory.h
translate-all.c
This page took 0.026116 seconds and 4 git commands to generate.