Re: [PATCH v2 0/6] migration/multifd: a new mechanism for send thread sync

2019-12-15 Thread Wei Yang
Ping for comment. On Sat, Oct 26, 2019 at 08:45:14AM +0800, Wei Yang wrote: >Current send thread could work while the sync mechanism has some problem: > > * has spuriously wakeup > * number of channels_ready will *overflow* the number of real channels > >The reason is: > > * if MULTIFD_FLAG_SYN

[PATCH v2 0/6] migration/multifd: a new mechanism for send thread sync

2019-10-25 Thread Wei Yang
Current send thread could work while the sync mechanism has some problem: * has spuriously wakeup * number of channels_ready will *overflow* the number of real channels The reason is: * if MULTIFD_FLAG_SYNC is set in the middle of send thread running, there is one more spurious wakeup