Re: [Qemu-devel] [PATCH v10 09/14] migration: Flush receive queue

2018-01-24 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > Each time that we sync the bitmap, it is a possiblity that we receive > a page that is being processed by a different thread. We fix this > problem just making sure that we wait for all receiving threads to > finish its work before we procedeed with t

[Qemu-devel] [PATCH v10 09/14] migration: Flush receive queue

2018-01-10 Thread Juan Quintela
Each time that we sync the bitmap, it is a possiblity that we receive a page that is being processed by a different thread. We fix this problem just making sure that we wait for all receiving threads to finish its work before we procedeed with the next stage. We are low on page flags, so we use a