Re: [PATCH v5 19/23] migration/multifd: Prepare multifd sync for mapped-ram migration

2024-02-29 Thread Peter Xu
On Thu, Feb 29, 2024 at 10:19:12AM -0300, Fabiano Rosas wrote: > > IMHO EOS cannot be accounted as "invalid" here because it always exists. > > Rather than this trick (then explicitly ignore it below... which is even > > hackier, IMHO), we can avoid setting EOS in invalid_flags, but explicitly > >

Re: [PATCH v5 19/23] migration/multifd: Prepare multifd sync for mapped-ram migration

2024-02-29 Thread Fabiano Rosas
Peter Xu writes: > On Wed, Feb 28, 2024 at 12:21:23PM -0300, Fabiano Rosas wrote: >> The mapped-ram migration can be performed live or non-live, but it is >> always asynchronous, i.e. the source machine and the destination >> machine are not migrating at the same time. We only need some pieces >>

Re: [PATCH v5 19/23] migration/multifd: Prepare multifd sync for mapped-ram migration

2024-02-28 Thread Peter Xu
On Wed, Feb 28, 2024 at 12:21:23PM -0300, Fabiano Rosas wrote: > The mapped-ram migration can be performed live or non-live, but it is > always asynchronous, i.e. the source machine and the destination > machine are not migrating at the same time. We only need some pieces > of the multifd sync oper

[PATCH v5 19/23] migration/multifd: Prepare multifd sync for mapped-ram migration

2024-02-28 Thread Fabiano Rosas
The mapped-ram migration can be performed live or non-live, but it is always asynchronous, i.e. the source machine and the destination machine are not migrating at the same time. We only need some pieces of the multifd sync operations. multifd_send_sync_main() Issued by