]> git.proxmox.com Git - mirror_qemu.git/commit
plugins/cache: limited the scope of a mutex lock
authorMahmoud Mandour <ma.mandourr@gmail.com>
Tue, 20 Jul 2021 23:26:56 +0000 (00:26 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 23 Jul 2021 16:22:16 +0000 (17:22 +0100)
commit072c444b0d948451771b0245b74d5310a00e3dd2
tree146b9a21bbc8edf89a5d77bc98ff7eb97e4b38a8
parentde9fc40f36ab8e696d1c69727e80a80c46f20978
plugins/cache: limited the scope of a mutex lock

It's not necessary to lock the address translation portion of the
vcpu_mem_access callback.

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210714172151.8494-3-ma.mandourr@gmail.com>
Message-Id: <20210720232703.10650-23-alex.bennee@linaro.org>
contrib/plugins/cache.c