Re: [PATCH 1/1] migration/multifd: solve zero page causing multiple page faults

2024-04-03 Thread Peter Xu
On Tue, Apr 02, 2024 at 09:57:49AM -0300, Fabiano Rosas wrote: > Yuan Liu writes: > > > Implemented recvbitmap tracking of received pages in multifd. > > > > If the zero page appears for the first time in the recvbitmap, this > > page is not checked and set. > > > > If the zero page has already

Re: [PATCH 1/1] migration/multifd: solve zero page causing multiple page faults

2024-04-02 Thread Fabiano Rosas
Yuan Liu writes: > Implemented recvbitmap tracking of received pages in multifd. > > If the zero page appears for the first time in the recvbitmap, this > page is not checked and set. > > If the zero page has already appeared in the recvbitmap, there is no > need to check the data but directly

[PATCH 1/1] migration/multifd: solve zero page causing multiple page faults

2024-04-02 Thread Yuan Liu
Implemented recvbitmap tracking of received pages in multifd. If the zero page appears for the first time in the recvbitmap, this page is not checked and set. If the zero page has already appeared in the recvbitmap, there is no need to check the data but directly set the data to 0, because it is