migration: stop compressing page in migration thread
commit263a289ae61c8344a417a95b0142650fdff3af56
authorXiao Guangrong <xiaoguangrong@tencent.com>
Fri, 30 Mar 2018 07:51:19 +0000 (30 15:51 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 25 Apr 2018 17:04:05 +0000 (25 18:04 +0100)
treecba27ed923febc1b38e3c7846b5ceb434b03f2c7
parent65ace060455122a461cdc9302238b914084bcd42
migration: stop compressing page in migration thread

As compression is a heavy work, do not do it in migration thread,
instead, we post it out as a normal page

Reviewed-by: Wei Wang <wei.w.wang@intel.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
Message-Id: <20180330075128.26919-2-xiaoguangrong@tencent.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/ram.c