Re: [Qemu-devel] [PATCH] migration/multifd: sync packet_num after all thread are done

2019-06-05 Thread Wei Yang
On Wed, Jun 05, 2019 at 12:39:06PM +0200, Juan Quintela wrote: >Wei Yang wrote: >> Notification from recv thread is not ordered, which means we may be >> notified by one MultiFDRecvParams but adjust packet_num for another. >> >> Move the adjustment after we are sure each recv thread are sync-ed. >

Re: [Qemu-devel] [PATCH] migration/multifd: sync packet_num after all thread are done

2019-06-05 Thread Juan Quintela
Wei Yang wrote: > Notification from recv thread is not ordered, which means we may be > notified by one MultiFDRecvParams but adjust packet_num for another. > > Move the adjustment after we are sure each recv thread are sync-ed. > > Signed-off-by: Wei Yang Reviewed-by: Juan Quintela It should

[Qemu-devel] [PATCH] migration/multifd: sync packet_num after all thread are done

2019-06-03 Thread Wei Yang
Notification from recv thread is not ordered, which means we may be notified by one MultiFDRecvParams but adjust packet_num for another. Move the adjustment after we are sure each recv thread are sync-ed. Signed-off-by: Wei Yang --- migration/ram.c | 8 1 file changed, 4 insertions(+),