]> Git Repo - qemu.git/commit
linux-user: Fix mmap_lock ordering
authorRiku Voipio <[email protected]>
Fri, 4 Dec 2009 13:16:31 +0000 (15:16 +0200)
committerAurelien Jarno <[email protected]>
Sat, 19 Dec 2009 18:45:27 +0000 (19:45 +0100)
commitd032d1b4b4bc29cb44592ee207bd8ae7cd4da668
tree3b20bf8ee99edc01a4a109d503dbe9dfa6a7d30c
parentf76cfe56d9bc281685c5120bf765d29d9323756f
linux-user: Fix mmap_lock ordering

mmap_lock() can be called while tb_lock() is being held. To
avoid deadlock when one thread is holding mmap_lock and another
tb_lock, _always_ lock first tb_lock().

Signed-off-by: Riku Voipio <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
linux-user/main.c
This page took 0.027987 seconds and 4 git commands to generate.