On 2/17/25 05:06, Philippe Mathieu-Daudé wrote:
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.hender...@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
  cpu-target.c | 17 ++---------------
  1 file changed, 2 insertions(+), 15 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to