[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] migration/multifd: sync packet_num after all th
From: |
Wei Yang |
Subject: |
Re: [Qemu-devel] [PATCH] migration/multifd: sync packet_num after all thread are done |
Date: |
Wed, 5 Jun 2019 13:34:53 +0000 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Wed, Jun 05, 2019 at 12:39:06PM +0200, Juan Quintela wrote:
>Wei Yang <address@hidden> 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 <address@hidden>
>
>
>Reviewed-by: Juan Quintela <address@hidden>
>
>It shouldn't matter a lot in real life, but I agree that it is better.
Yep, thanks.
--
Wei Yang
Help you, Help me