Re: [RFC PATCH] migration/ram: avoid to do log clear in the last round

2025-05-20 Thread Yanfei Xu
On 2025/5/21 04:33, Peter Xu wrote: On Tue, May 20, 2025 at 04:05:57PM -0300, Fabiano Rosas wrote: Yanfei Xu writes: There won't be any ram sync after the stage of save_complete, therefore it's unnecessary to do manually protect for dirty pages being sent. Skip to do this in last round can re

Re: [RFC PATCH] migration/ram: avoid to do log clear in the last round

2025-05-20 Thread Peter Xu
On Tue, May 20, 2025 at 04:05:57PM -0300, Fabiano Rosas wrote: > Yanfei Xu writes: > > > There won't be any ram sync after the stage of save_complete, therefore > > it's unnecessary to do manually protect for dirty pages being sent. Skip > > to do this in last round can reduce noticeable downtime

Re: [RFC PATCH] migration/ram: avoid to do log clear in the last round

2025-05-20 Thread Fabiano Rosas
Yanfei Xu writes: > There won't be any ram sync after the stage of save_complete, therefore > it's unnecessary to do manually protect for dirty pages being sent. Skip > to do this in last round can reduce noticeable downtime. > > Signed-off-by: Yanfei Xu > --- > As I don't have proper machine to

Re: [RFC PATCH] migration/ram: avoid to do log clear in the last round

2025-05-14 Thread Yanfei Xu
Please ingore this email and reply to the later identical one (sent about 1 hour later). The duplicate was cause by the network latency - sorry for the noise. Thanks, Yanfei On 2025/5/14 18:27, Yanfei Xu wrote: There won't be any ram sync after the stage of save_complete, therefore it's unnec