Message ID | 20180807091209.13531-3-xiaoguangrong@tencent.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7FC4014E5 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 7 Aug 2018 09:16:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6643D26538 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 7 Aug 2018 09:16:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A2C429690; Tue, 7 Aug 2018 09:16:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E891226538 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 7 Aug 2018 09:16:53 +0000 (UTC) Received: from localhost ([::1]:38020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1fmy6n-0005n5-5V for patchwork-qemu-devel@patchwork.kernel.org; Tue, 07 Aug 2018 05:16:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <guangrong.xiao@gmail.com>) id 1fmy2m-00037C-Qx for qemu-devel@nongnu.org; Tue, 07 Aug 2018 05:12:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <guangrong.xiao@gmail.com>) id 1fmy2l-00055F-Tc for qemu-devel@nongnu.org; Tue, 07 Aug 2018 05:12:44 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:44766) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <guangrong.xiao@gmail.com>) id 1fmy2l-000555-Lq for qemu-devel@nongnu.org; Tue, 07 Aug 2018 05:12:43 -0400 Received: by mail-pf1-x42b.google.com with SMTP id k21-v6so8262453pff.11 for <qemu-devel@nongnu.org>; Tue, 07 Aug 2018 02:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3zt+Khuobr5RUdqrSMIsTzX+YCNaFtVf0EUqgmfZh9Y=; b=Exw7H4ENaSU2hFN1EhNGRbEzsZ23VhzzX1aOgpP52zfDIX70ABc6LP/1PT6n5c2XuU +DFtTdgKN7bBiypFca7qYJaUIYy1tL8nVeC1nqe81vlIiZHbTN+hwoVgPLqt12pNcQpx LwMc6WBZeKBBuPV0f44LBbA9SXj02nTECT/S+h2D4DFzpIasc7WwMN8W9nK+1CRnHwKT oqjFrG/UUZzrLr2dwxbv6Jj4FfKFop1eJ2O4pan04ykAncG06+TuZD11WBGOk76X+Wk1 DaXGP3z/duwpBfRsHL2RKA4wY/tMQDAfWGB2exr4GKxBnw3DJf8nts8XPctrdl3V60xz qaBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3zt+Khuobr5RUdqrSMIsTzX+YCNaFtVf0EUqgmfZh9Y=; b=fMRAxPe4Gqd18PEnO1bN6EqSiKdek0W3CviMy9x+k0nD1rLE2isKX8BH6ZqjlYbGCA ax/2bjCjDdPprBbfPZyyD992bAjwnW48IxmWmg5Hob+mkdbUJsokkOmFNBVV4kFGDtIw fTEQ0sabCsGKILniebF7h9x9S+Cj5zK7wu3A+gyqxdNQQKydwfsk3Vw8cTmr5VJoXaQO 9m5Fxenw4DuqHAdi+fu+hsQp72WSNd84ODqCk1wb0PLLp8AftvsxEHJY60p0a4h4ooki gw0pvyzqxXquGECN6f4RjosPheFF6NF2xQJ8g9IhlfH9enU/XtW26NQbWUJs/OwuMCcL sxDg== X-Gm-Message-State: AOUpUlG9RNLUFDKJtSjvn5VokZVLWn4vB/IU68cSM9VZlxVQRtr80hWC EPl8awcHTmlrZm1R4pBMVNA= X-Google-Smtp-Source: AAOMgpcrmQLNM+Kw+ncIPnKjkVvJvAVlmglvJ1XT4ohLh7Jj6g03JnMWSSxbIpKl8D5sHgmmSvpseg== X-Received: by 2002:a63:4663:: with SMTP id v35-v6mr17516657pgk.178.1533633162951; Tue, 07 Aug 2018 02:12:42 -0700 (PDT) Received: from localhost.localdomain ([203.205.141.37]) by smtp.gmail.com with ESMTPSA id z4-v6sm2159645pfl.11.2018.08.07.02.12.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Aug 2018 02:12:42 -0700 (PDT) From: guangrong.xiao@gmail.com X-Google-Original-From: xiaoguangrong@tencent.com To: pbonzini@redhat.com, mst@redhat.com, mtosatti@redhat.com Date: Tue, 7 Aug 2018 17:12:01 +0800 Message-Id: <20180807091209.13531-3-xiaoguangrong@tencent.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180807091209.13531-1-xiaoguangrong@tencent.com> References: <20180807091209.13531-1-xiaoguangrong@tencent.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42b Subject: [Qemu-devel] [PATCH v3 02/10] migration: fix counting normal page for compression X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: kvm@vger.kernel.org, Xiao Guangrong <xiaoguangrong@tencent.com>, qemu-devel@nongnu.org, peterx@redhat.com, dgilbert@redhat.com, wei.w.wang@intel.com, jiang.biao2@zte.com.cn Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
migration: compression optimization
|
expand
|
diff --git a/migration/ram.c b/migration/ram.c index ae9e83c2b6..d631b9a6fe 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -1903,7 +1903,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; }