Re: [Qemu-devel] [PATCH v5 17/17] migration: Flush receive queue

2017-08-09 Thread Peter Xu
On Tue, Aug 08, 2017 at 01:40:58PM +0200, Juan Quintela wrote: > Peter Xu wrote: > > On Mon, Jul 17, 2017 at 03:42:38PM +0200, Juan Quintela 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 > >

Re: [Qemu-devel] [PATCH v5 17/17] migration: Flush receive queue

2017-08-08 Thread Juan Quintela
Peter Xu wrote: > On Mon, Jul 17, 2017 at 03:42:38PM +0200, Juan Quintela 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 >> f

Re: [Qemu-devel] [PATCH v5 17/17] migration: Flush receive queue

2017-08-08 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > "Dr. David Alan Gilbert" wrote: > > * 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 makin

Re: [Qemu-devel] [PATCH v5 17/17] migration: Flush receive queue

2017-08-08 Thread Juan Quintela
"Dr. David Alan Gilbert" wrote: > * 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 >> fin

Re: [Qemu-devel] [PATCH v5 17/17] migration: Flush receive queue

2017-07-21 Thread Juan Quintela
Peter Xu wrote: > On Mon, Jul 17, 2017 at 03:42:38PM +0200, Juan Quintela 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 >> f

Re: [Qemu-devel] [PATCH v5 17/17] migration: Flush receive queue

2017-07-20 Thread Peter Xu
On Mon, Jul 17, 2017 at 03:42:38PM +0200, Juan Quintela 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 w

Re: [Qemu-devel] [PATCH v5 17/17] migration: Flush receive queue

2017-07-20 Thread Peter Xu
On Mon, Jul 17, 2017 at 03:42:38PM +0200, Juan Quintela 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 w

Re: [Qemu-devel] [PATCH v5 17/17] migration: Flush receive queue

2017-07-20 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 v5 17/17] migration: Flush receive queue

2017-07-17 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