Re: [PATCH 4/4] migration/multifd: pages->used would be cleared when attach to multifd_send_state

2019-10-11 Thread Juan Quintela
Wei Yang wrote: > When we found an available channel in multifd_send_pages(), its > pages->used is cleared and then attached to multifd_send_state. > > It is not necessary to do this twice. > > Signed-off-by: Wei Yang Reviewed-by: Juan Quintela

[PATCH 4/4] migration/multifd: pages->used would be cleared when attach to multifd_send_state

2019-10-11 Thread Wei Yang
When we found an available channel in multifd_send_pages(), its pages->used is cleared and then attached to multifd_send_state. It is not necessary to do this twice. Signed-off-by: Wei Yang --- migration/ram.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration/ram.c b/migration/ram.c