On Thursday, July 22, 2021 5:48 PM, David Hildenbrand wrote: > On 22.07.21 10:30, Wei Wang wrote: > > When skipping free pages to send, their corresponding dirty bits in > > the memory region dirty bitmap need to be cleared. Otherwise the > > skipped pages will be sent in the next round after the migration > > thread syncs dirty bits from the memory region dirty bitmap. > > > > Cc: David Hildenbrand <da...@redhat.com> > > Cc: Peter Xu <pet...@redhat.com> > > Cc: Michael S. Tsirkin <m...@redhat.com> > > Reported-by: David Hildenbrand <da...@redhat.com> > > Signed-off-by: Wei Wang <wei.w.w...@intel.com> > > --- > > migration/ram.c | 74 > +++++++++++++++++++++++++++++++++++++------------ > > 1 file changed, 56 insertions(+), 18 deletions(-) > > > > LGTM, thanks > > Reviewed-by: David Hildenbrand <da...@redhat.com> >
Thanks. Please remember to have a regression test together with Peterx's that patch when you get a chance. Best, Wei