Searched hist:"0 d58c660689f6da1e3feff8a997014003d928b3b" (Results 1 – 3 of 3) sorted by relevance
/qemu/accel/tcg/ |
H A D | cpu-exec-common.c | 0d58c660689f6da1e3feff8a997014003d928b3b Fri Aug 25 23:13:17 UTC 2023 Richard Henderson <richard.henderson@linaro.org> softmmu: Use async_run_on_cpu in tcg_commit
After system startup, run the update to memory_dispatch and the tlb_flush on the cpu. This eliminates a race, wherein a running cpu sees the memory_dispatch change but has not yet seen the tlb_flush.
Since the update now happens on the cpu, we need not use qatomic_rcu_read to protect the read of memory_dispatch.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1826 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1834 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1846 Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|
/qemu/system/ |
H A D | physmem.c | 0d58c660689f6da1e3feff8a997014003d928b3b Fri Aug 25 23:13:17 UTC 2023 Richard Henderson <richard.henderson@linaro.org> softmmu: Use async_run_on_cpu in tcg_commit
After system startup, run the update to memory_dispatch and the tlb_flush on the cpu. This eliminates a race, wherein a running cpu sees the memory_dispatch change but has not yet seen the tlb_flush.
Since the update now happens on the cpu, we need not use qatomic_rcu_read to protect the read of memory_dispatch.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1826 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1834 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1846 Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|
/qemu/include/exec/ |
H A D | cpu-common.h | 0d58c660689f6da1e3feff8a997014003d928b3b Fri Aug 25 23:13:17 UTC 2023 Richard Henderson <richard.henderson@linaro.org> softmmu: Use async_run_on_cpu in tcg_commit
After system startup, run the update to memory_dispatch and the tlb_flush on the cpu. This eliminates a race, wherein a running cpu sees the memory_dispatch change but has not yet seen the tlb_flush.
Since the update now happens on the cpu, we need not use qatomic_rcu_read to protect the read of memory_dispatch.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1826 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1834 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1846 Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|