Lukas Straub <lukasstra...@web.de> wrote: > save_page_header() accesses several global variables, so calling it > from multiple threads is pretty ugly. > > Instead, call save_page_header() before writing out the compressed > data from the compress buffer to the migration stream. > > This also makes the core compress code more independend from ram.c. > > Signed-off-by: Lukas Straub <lukasstra...@web.de>
Reviewed-by: Juan Quintela <quint...@redhat.com>