Re: [PATCH v2 2/7] migration/multifd: Allow to sync with sender threads only

2024-12-06 Thread Fabiano Rosas
Peter Xu writes: > On Fri, Dec 06, 2024 at 10:26:06AM -0300, Fabiano Rosas wrote: >> Peter Xu writes: >> >> > Teach multifd_send_sync_main() to sync with threads only. >> > >> > We already have such requests, which is when mapped-ram is enabled with >> > multifd. In that case, no SYNC messages

Re: [PATCH v2 2/7] migration/multifd: Allow to sync with sender threads only

2024-12-06 Thread Peter Xu
On Fri, Dec 06, 2024 at 10:26:06AM -0300, Fabiano Rosas wrote: > Peter Xu writes: > > > Teach multifd_send_sync_main() to sync with threads only. > > > > We already have such requests, which is when mapped-ram is enabled with > > multifd. In that case, no SYNC messages will be pushed to the stre

Re: [PATCH v2 2/7] migration/multifd: Allow to sync with sender threads only

2024-12-06 Thread Fabiano Rosas
Peter Xu writes: > Teach multifd_send_sync_main() to sync with threads only. > > We already have such requests, which is when mapped-ram is enabled with > multifd. In that case, no SYNC messages will be pushed to the stream when > multifd syncs the sender threads because there's no destination t

[PATCH v2 2/7] migration/multifd: Allow to sync with sender threads only

2024-12-05 Thread Peter Xu
Teach multifd_send_sync_main() to sync with threads only. We already have such requests, which is when mapped-ram is enabled with multifd. In that case, no SYNC messages will be pushed to the stream when multifd syncs the sender threads because there's no destination threads waiting for that. Th