Received: from eggs.gnu.org ([2001:4830:134:3::10]:39067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsRpO-0006sQ-Sf for qemu-devel@nongnu.org; Wed, 22 Aug 2018 08:01:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsRpL-0000CD-0l for qemu-devel@nongnu.org; Wed, 22 Aug 2018 08:01:34 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:41936 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fsRpK-0000Bh-QK for qemu-devel@nongnu.org; Wed, 22 Aug 2018 08:01:30 -0400 From: Juan Quintela Date: Wed, 22 Aug 2018 14:00:46 +0200 Message-Id: <20180822120050.12694-17-quintela@redhat.com> In-Reply-To: <20180822120050.12694-1-quintela@redhat.com> References: <20180822120050.12694-1-quintela@redhat.com> Subject: [Qemu-devel] [PULL 16/20] migration: fix counting normal page for compression List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: dgilbert@redhat.com, lvivier@redhat.com, peterx@redhat.com, Xiao Guangrong From: Xiao Guangrong The compressed page is not normal page Reviewed-by: Peter Xu Signed-off-by: Xiao Guangrong Reviewed-by: Juan Quintela Signed-off-by: Juan Quintela --- migration/ram.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration/ram.c b/migration/ram.c index 498834bdbe..9d2ec247ec 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -1910,7 +1910,6 @@ retry: qemu_cond_signal(&comp_param[idx].cond); qemu_mutex_unlock(&comp_param[idx].mutex); pages = 1; - ram_counters.normal++; ram_counters.transferred += bytes_xmit; break; } -- 2.17.1