qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] migration/multifd: Fix rb->receivedmap cleanup race
@ 2024-09-17 18:58 Fabiano Rosas
  2024-09-17 18:58 ` [PATCH 1/2] migration/savevm: Remove extra load cleanup calls Fabiano Rosas
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Fabiano Rosas @ 2024-09-17 18:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Xu, Peter Maydell

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/20240913220542.18305-1-farosas@suse.de

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(-)

-- 
2.35.3



^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/2] migration/multifd: Fix rb->receivedmap cleanup race
@ 2024-09-13 22:05 Fabiano Rosas
  2024-09-13 22:05 ` [PATCH 2/2] " Fabiano Rosas
  0 siblings, 1 reply; 13+ messages in thread
From: Fabiano Rosas @ 2024-09-13 22:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Xu, Peter Maydell

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.

CI run: https://gitlab.com/farosas/qemu/-/pipelines/1453038652

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

 migration/migration.c |  1 +
 migration/migration.h |  1 -
 migration/savevm.c    | 11 -----------
 3 files changed, 1 insertion(+), 12 deletions(-)

-- 
2.35.3



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-10-08 21:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-17 18:58 [PATCH 0/2] migration/multifd: Fix rb->receivedmap cleanup race Fabiano Rosas
2024-09-17 18:58 ` [PATCH 1/2] migration/savevm: Remove extra load cleanup calls Fabiano Rosas
2024-09-17 19:16   ` Peter Xu
2024-09-17 19:20     ` Fabiano Rosas
2024-09-17 18:58 ` [PATCH 2/2] migration/multifd: Fix rb->receivedmap cleanup race Fabiano Rosas
2024-09-17 19:20   ` Peter Xu
2024-09-17 19:29     ` Fabiano Rosas
2024-09-17 20:01 ` [PATCH 0/2] " Peter Xu
  -- strict thread matches above, loose matches on Subject: below --
2024-09-13 22:05 Fabiano Rosas
2024-09-13 22:05 ` [PATCH 2/2] " Fabiano Rosas
2024-09-17 17:02   ` Peter Xu
2024-09-17 17:41     ` Fabiano Rosas
2024-09-20 18:55   ` Elena Ufimtseva
2024-10-08 21:36     ` Fabiano Rosas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).