Re: [PATCH v3 14/14] migration/multifd: Move ram code into multifd-ram.c

2024-08-22 Thread Peter Xu
On Thu, Aug 22, 2024 at 02:21:18PM -0300, Fabiano Rosas wrote: > Peter Xu writes: > > > On Thu, Aug 01, 2024 at 09:35:16AM -0300, Fabiano Rosas wrote: > >> In preparation for adding new payload types to multifd, move most of > >> the ram-related code into multifd-ram.c. Let's try to keep a sembla

Re: [PATCH v3 14/14] migration/multifd: Move ram code into multifd-ram.c

2024-08-22 Thread Fabiano Rosas
Peter Xu writes: > On Thu, Aug 01, 2024 at 09:35:16AM -0300, Fabiano Rosas wrote: >> In preparation for adding new payload types to multifd, move most of >> the ram-related code into multifd-ram.c. Let's try to keep a semblance >> of layering by not mixing general multifd control flow with the >>

Re: [PATCH v3 14/14] migration/multifd: Move ram code into multifd-ram.c

2024-08-22 Thread Peter Xu
On Thu, Aug 01, 2024 at 09:35:16AM -0300, Fabiano Rosas wrote: > In preparation for adding new payload types to multifd, move most of > the ram-related code into multifd-ram.c. Let's try to keep a semblance > of layering by not mixing general multifd control flow with the > details of transmitting

[PATCH v3 14/14] migration/multifd: Move ram code into multifd-ram.c

2024-08-01 Thread Fabiano Rosas
In preparation for adding new payload types to multifd, move most of the ram-related code into multifd-ram.c. Let's try to keep a semblance of layering by not mixing general multifd control flow with the details of transmitting pages of ram. There are still some pieces leftover, namely the p->norm