migration: refine the compression code
commita7a9a88f9d29da125b0958f3bd1b15182dc94f5f
authorLiang Li <liang.z.li@intel.com>
Thu, 5 May 2016 07:32:57 +0000 (5 15:32 +0800)
committerAmit Shah <amit.shah@redhat.com>
Fri, 17 Jun 2016 12:54:26 +0000 (17 18:24 +0530)
tree16c42c157ee7b49747aa404f7ba6f897c1f33614
parent90e56fb46d0a7add88ed463efa4e723a6238f692
migration: refine the compression code

The current code for multi-thread compression 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-8-git-send-email-liang.z.li@intel.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
migration/ram.c