Re: [PATCH 3/5] accel/tcg: Take mmap lock in the whole cpu_memory_rw_debug() function

2025-02-17 Thread Richard Henderson
On 2/17/25 05:06, Philippe Mathieu-Daudé wrote: Simplify user implementation of cpu_memory_rw_debug() by taking the mmap lock globally. See commit 87ab2704296 ("linux-user: Allow gdbstub to ignore page protection") for why this lock is necessary. Suggested-by: Richard Henderson Signed-off-by: P

[PATCH 3/5] accel/tcg: Take mmap lock in the whole cpu_memory_rw_debug() function

2025-02-17 Thread Philippe Mathieu-Daudé
Simplify user implementation of cpu_memory_rw_debug() by taking the mmap lock globally. See commit 87ab2704296 ("linux-user: Allow gdbstub to ignore page protection") for why this lock is necessary. Suggested-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- cpu-target.c | 6 -