Skip to content

RFC migration/multifd: Locking changes

Fabiano Rosas qemu-devel 2 versions – NAK

Status from this message: NAK.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest6 patches 23 repliesNAK
  2. v1 RFC3 patches 6 repliesSuperseded

Patches in v2

#Subject and filesSizeRepliesApplied
1/6migration/multifd: Remove channels_ready semaphoremigration/multifd.c+0 -1015 replies
2/6migration/multifd: Stop checking p->quit in multifd_send_threadmigration/multifd.c+0 -34 replies
3/6migration/multifd: Decouple control flow from the SYNC packetmigration/multifd.c migration/multifd.h migration/trace-events+47 -352 replies
4/6migration/multifd: Extract sem_done waiting into a functionmigration/multifd.c+30 -170 replies
5/6migration/multifd: Stop setting 'quit' outside of channelsmigration/multifd.c+9 -31 reply
6/6migration/multifd: Bring back the 'ready' semaphoremigration/multifd.c migration/multifd.h+15 -351 reply

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchJuan Quintela
1/6
2/6R-b
3/6
4/6
5/6
6/6

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

Read the v2 thread

Cover letter [RFC PATCH v2 0/6] migration/multifd: Locking changes

was:
migration/multifd: SYNC packet changes
https://lore.kernel.org/r/[email protected]

Here are the patches I mentioned in our discussion in the other thread. The main purpose of this series is to be a PoC on how we can move some stuff around and avoid taking the channel params lock.

I'm also trying to show that sem_sync on the sending side could be made a bit more useful by using it to inform completion of any batch of packets, rather than only completion of the SYNC packet.

I understand this is a disruptive series, so let's take it slow.

Thanks!

Fabiano Rosas (6):
migration/multifd: Remove channels_ready semaphore migration/multifd: Stop checking p->quit in multifd_send_thread migration/multifd: Decouple control flow from the SYNC packet migration/multifd: Extract sem_done waiting into a function migration/multifd: Stop setting 'quit' outside of channels migration/multifd: Bring back the 'ready' semaphore

 migration/multifd.c    | 127 ++++++++++++++++++++---------------------
 migration/multifd.h    |   9 ++-
 migration/trace-events |   2 +-
 3 files changed, 68 insertions(+), 70 deletions(-)
Signature · 1 line
2.35.3