Skip to content

migration/multifd: Fix rb->receivedmap cleanup race

Fabiano Rosas qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Changes in v1 from the cover letter

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2migration/savevm: Remove extra load cleanup callsmigration/savevm.c+0 -22 replies
2/2migration/multifd: Fix rb->receivedmap cleanup racemigration/migration.c migration/savevm.c+5 -22 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter Xu
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] migration/multifd: Fix rb->receivedmap cleanup race

v2: Keep skipping the cpu_synchronize_all_post_init() call if the postcopy listen thread is live. Don't copy stable on the first patch.

CI run: https://gitlab.com/farosas/qemu/-/pipelines/1457418838
====
v1:
https://lore.kernel.org/r/[email protected]

This fixes the crash we've been seing recently in migration-test. The first patch is a cleanup to have only one place calling qemu_loadvm_state_cleanup() and the second patch reorders the cleanup calls to make multifd_recv_cleanup() run first and stop the recv threads.

Fabiano Rosas (2):
migration/savevm: Remove extra load cleanup calls migration/multifd: Fix rb->receivedmap cleanup race

 migration/migration.c | 1 +
 migration/savevm.c    | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)
Signature · 1 line
2.35.3