summary refs log tree commit diff stats
path: root/accel/tcg/user-exec.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-02-17 12:01:09 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-06 15:46:18 +0100
commiteacd1f8445fd033c3ce927e543be2818d0564130 (patch)
tree2e72a29c53f3e599c00608ce59e1e5d25cc73fe3 /accel/tcg/user-exec.c
parent964a4f2c2972ec9c7574b87541d6070ef5d22f4f (diff)
downloadfocaccia-qemu-eacd1f8445fd033c3ce927e543be2818d0564130.tar.gz
focaccia-qemu-eacd1f8445fd033c3ce927e543be2818d0564130.zip
accel/tcg: Avoid using lock_user() in cpu_memory_rw_debug()
We checked the page flags with page_get_flags(), so
locking the page is superfluous. Remove the lock_user()
calls and directly use g2h() in place.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250217130610.18313-5-philmd@linaro.org>
Diffstat (limited to 'accel/tcg/user-exec.c')
0 files changed, 0 insertions, 0 deletions