On Sat, 22 Jul 2023 at 12:35, Richard Henderson
wrote:
>
> For user-only, the probe for page writability may race with another
> thread's mprotect. Take the mmap_lock around the operation. This
> is still faster than the start/end_exclusive fallback.
>
> Signed-off-by: Richard Henderson
> ---
>
For user-only, the probe for page writability may race with another
thread's mprotect. Take the mmap_lock around the operation. This
is still faster than the start/end_exclusive fallback.
Signed-off-by: Richard Henderson
---
accel/tcg/ldst_atomicity.c.inc | 32 ++--