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

Fabiano Rosas posted 6 patches 7 months, 1 week ago
Failed in applying to current master (apply log)
Maintainers: Juan Quintela <quintela@redhat.com>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Leonardo Bras <leobras@redhat.com>
migration/multifd.c    | 127 ++++++++++++++++++++---------------------
migration/multifd.h    |   9 ++-
migration/trace-events |   2 +-
3 files changed, 68 insertions(+), 70 deletions(-)
[RFC PATCH v2 0/6] migration/multifd: Locking changes
Posted by Fabiano Rosas 7 months, 1 week ago
was:
migration/multifd: SYNC packet changes
https://lore.kernel.org/r/20230922145319.27380-1-farosas@suse.de

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

-- 
2.35.3