Re: [PATCH v7 10/12] multifd: Support for zero pages transmission

2022-11-14 Thread Juan Quintela
chuang xu wrote: > On 2022/8/2 下午2:39, Juan Quintela wrote: >> This patch adds counters and similar. Logic will be added on the >> following patch. >> >> Signed-off-by: Juan Quintela >> >> sync_needed = p->flags & MULTIFD_FLAG_SYNC; >> /* recv methods don't know how to handl

Re: [PATCH v7 10/12] multifd: Support for zero pages transmission

2022-11-14 Thread Juan Quintela
Leonardo Brás wrote: ... >> @@ -712,6 +726,7 @@ static void *multifd_send_thread(void *opaque) >> qemu_mutex_lock(&p->mutex); >> p->num_packets++; >> p->total_normal_pages += p->normal_num; >> +p->total_zero_pages += p->zero_num; > > I can see i

Re: [PATCH v7 10/12] multifd: Support for zero pages transmission

2022-10-25 Thread chuang xu
On 2022/8/2 下午2:39, Juan Quintela wrote: This patch adds counters and similar. Logic will be added on the following patch. Signed-off-by: Juan Quintela --- Added counters for duplicated/non duplicated pages. Removed reviewed by from David. Add total_zero_pages --- migration/multifd.h

Re: [PATCH v7 10/12] multifd: Support for zero pages transmission

2022-09-02 Thread Leonardo Brás
On Tue, 2022-08-02 at 08:39 +0200, Juan Quintela wrote: > This patch adds counters and similar. Logic will be added on the > following patch. > > Signed-off-by: Juan Quintela > > --- > > Added counters for duplicated/non duplicated pages. > Removed reviewed by from David. > Add total_zero_page

[PATCH v7 10/12] multifd: Support for zero pages transmission

2022-08-01 Thread Juan Quintela
This patch adds counters and similar. Logic will be added on the following patch. Signed-off-by: Juan Quintela --- Added counters for duplicated/non duplicated pages. Removed reviewed by from David. Add total_zero_pages --- migration/multifd.h| 17 - migration/multifd.c