diff options
author | 2022-10-17 15:53:50 +0800 | |
---|---|---|
committer | 2023-02-06 19:22:57 +0100 | |
commit | ddbe628c97c3a2d211c6d96383cb4063ac3ad0f9 (patch) | |
tree | 24b3525ac18877715b0c449304aa29ca14b234c2 /scripts/coverage/compare_gcov_json.py | |
parent | migration: check magic value for deciding the mapping of channels (diff) | |
download | qemu-ddbe628c97c3a2d211c6d96383cb4063ac3ad0f9.tar.xz qemu-ddbe628c97c3a2d211c6d96383cb4063ac3ad0f9.zip |
multifd: Fix a race on reading MultiFDPages_t.block
In multifd_queue_page() MultiFDPages_t.block is checked twice.
Between the two checks, MultiFDPages_t.block may be reset to NULL
by multifd thread. This lead to the 2nd check always true then a
redundant page submitted to multifd thread again.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'scripts/coverage/compare_gcov_json.py')
0 files changed, 0 insertions, 0 deletions