summaryrefslogtreecommitdiffstats
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorPaolo Bonzini2013-05-17 12:40:44 +0200
committerPaolo Bonzini2015-02-02 16:55:10 +0100
commit2b647668c9092dbc26e36a2ece9647cc2f00e05b (patch)
treea3b4dce04c778c5c8a81f1063c4e2c566976e824 /cpu-exec.c
parentmemory: protect current_map by RCU (diff)
downloadqemu-2b647668c9092dbc26e36a2ece9647cc2f00e05b.tar.gz
qemu-2b647668c9092dbc26e36a2ece9647cc2f00e05b.tar.xz
qemu-2b647668c9092dbc26e36a2ece9647cc2f00e05b.zip
memory: avoid ref/unref in memory_region_find
Do the entire lookup under RCU, which avoids atomic operations in flatview_ref and flatview_unref. Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions