aboutsummaryrefslogtreecommitdiff
path: root/.exrc
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-08-11 11:33:24 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-09-09 15:34:56 +0200
commit9fd1a94888cd6a559f95c3596ec1ac28b74838c1 (patch)
treececbe1ad9b5c5593e85b6ced7498f5d88f5078ad /.exrc
parent8fd19e6cfd5b6cdf028c6ac2ff4157ed831ea3a6 (diff)
downloadqemu-9fd1a94888cd6a559f95c3596ec1ac28b74838c1.zip
qemu-9fd1a94888cd6a559f95c3596ec1ac28b74838c1.tar.gz
qemu-9fd1a94888cd6a559f95c3596ec1ac28b74838c1.tar.bz2
cpu-exec: fix lock hierarchy for user-mode emulation
tb_lock has to be taken inside the mmap_lock (example: tb_invalidate_phys_range is called by target_mmap), but tb_link_page is taking the mmap_lock and it is called with the tb_lock held. To fix this, take the mmap_lock in tb_find_slow, not in tb_link_page. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '.exrc')
0 files changed, 0 insertions, 0 deletions