On Fri, 19 Jul 2024 at 02:09, Richard Henderson <richard.hender...@linaro.org> wrote: > > Avoid a race condition with munmap in another thread. > For access_memset and access_memmove, manage the value > within the helper. For uses of access_{get,set}_byte, > manage the value across the for loops. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > target/s390x/tcg/mem_helper.c | 43 ++++++++++++++++++++++++++++++----- > 1 file changed, 37 insertions(+), 6 deletions(-)
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM