]> git.proxmox.com Git - mirror_qemu.git/commit - linux-user/syscall.c
linux-user: Set CF_PARALLEL when mapping shared memory
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 12 Jun 2021 06:08:28 +0000 (23:08 -0700)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 15 Jun 2021 06:28:56 +0000 (08:28 +0200)
commit228168cbb7cc40bfb1621b0b6868c018b522276a
treeb82f0e2af4188a3b465311b34e5b50d5ed28986b
parent1ea06abceec61b6f3ab33dadb0510b6e09fb61e2
linux-user: Set CF_PARALLEL when mapping shared memory

Signal the translator to use host atomic instructions for
guest operations, insofar as it is possible.  This is the
best we can do to allow the guest to interact atomically
with other processes.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/121
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210612060828.695332-1-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/mmap.c
linux-user/syscall.c