Re: [Qemu-devel] [PATCH v12 16/21] migration: Synchronize multifd threads with main thread

2018-05-11 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > "Dr. David Alan Gilbert" wrote: > > * Juan Quintela (quint...@redhat.com) wrote: > >> We synchronize all threads each RAM_SAVE_FLAG_EOS. Bitmap > >> synchronizations don't happen inside a ram section, so we are safe > >> about

Re: [Qemu-devel] [PATCH v12 16/21] migration: Synchronize multifd threads with main thread

2018-05-09 Thread Juan Quintela
"Dr. David Alan Gilbert" wrote: > * Juan Quintela (quint...@redhat.com) wrote: >> We synchronize all threads each RAM_SAVE_FLAG_EOS. Bitmap >> synchronizations don't happen inside a ram section, so we are safe >> about two channels trying to overwrite the same memory. > >

Re: [Qemu-devel] [PATCH v12 16/21] migration: Synchronize multifd threads with main thread

2018-05-03 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > We synchronize all threads each RAM_SAVE_FLAG_EOS. Bitmap > synchronizations don't happen inside a ram section, so we are safe > about two channels trying to overwrite the same memory. OK, that's quite neat - so you don't need any extra flags in

[Qemu-devel] [PATCH v12 16/21] migration: Synchronize multifd threads with main thread

2018-04-25 Thread Juan Quintela
We synchronize all threads each RAM_SAVE_FLAG_EOS. Bitmap synchronizations don't happen inside a ram section, so we are safe about two channels trying to overwrite the same memory. Signed-off-by: Juan Quintela --- migration/ram.c| 118