From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752797AbdCFNX4 (ORCPT ); Mon, 6 Mar 2017 08:23:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50062 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752685AbdCFNXp (ORCPT ); Mon, 6 Mar 2017 08:23:45 -0500 Subject: Re: [PATCH v7 kernel 5/5] This patch contains two parts: To: Wei Wang , virtio-dev@lists.oasis-open.org, kvm@vger.kernel.org, qemu-devel@nongnu.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-mm@kvack.org References: <1488519630-89058-1-git-send-email-wei.w.wang@intel.com> <1488519630-89058-6-git-send-email-wei.w.wang@intel.com> Cc: Liang Li , Andrew Morton , Mel Gorman , "Michael S . Tsirkin" , Paolo Bonzini , Cornelia Huck , Amit Shah , Dave Hansen , Andrea Arcangeli , Liang Li From: David Hildenbrand Organization: Red Hat GmbH Message-ID: Date: Mon, 6 Mar 2017 14:23:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1488519630-89058-6-git-send-email-wei.w.wang@intel.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 06 Mar 2017 13:23:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 03.03.2017 um 06:40 schrieb Wei Wang: > From: Liang Li I'd prefer to split this into two parts then and to create proper subjects. If I remember correctly, the general concept was accepted by most reviewers. > > One is to add a new API to mm go get the unused page information. > The virtio balloon driver will use this new API added to get the > unused page info and send it to hypervisor(QEMU) to speed up live > migration. During sending the bitmap, some the pages may be modified > and are used by the guest, this inaccuracy can be corrected by the > dirty page logging mechanism. > > One is to add support the request for vm's unused page information, > QEMU can make use of unused page information and the dirty page > logging mechanism to skip the transportation of some of these unused > pages, this is very helpful to reduce the network traffic and speed > up the live migration process. -- Thanks, David