migration: refine the decompression code
commit33d151f4188a40faee224aba1c7b9ad7b1568eb4
authorLiang Li <liang.z.li@intel.com>
Thu, 5 May 2016 07:32:58 +0000 (5 15:32 +0800)
committerAmit Shah <amit.shah@redhat.com>
Fri, 17 Jun 2016 12:54:28 +0000 (17 18:24 +0530)
treeedbc20b665ca6054ac57c9ebcff9507ce04f5244
parenta7a9a88f9d29da125b0958f3bd1b15182dc94f5f
migration: refine the decompression code

The current code for multi-thread decompression is not clear,
especially in the aspect of using lock. Refine the code
to make it clear.

Signed-off-by: Liang Li <liang.z.li@intel.com>
Message-Id: <1462433579-13691-9-git-send-email-liang.z.li@intel.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
migration/ram.c