From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758278AbcJYBOK convert rfc822-to-8bit (ORCPT ); Mon, 24 Oct 2016 21:14:10 -0400 Received: from mga09.intel.com ([134.134.136.24]:8983 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758032AbcJYBOI (ORCPT ); Mon, 24 Oct 2016 21:14:08 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,544,1473145200"; d="scan'208";a="183389412" From: "Li, Liang Z" To: "Hansen, Dave" , "mst@redhat.com" CC: "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "linux-mm@kvack.org" , "virtio-dev@lists.oasis-open.org" , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , "quintela@redhat.com" , "dgilbert@redhat.com" , "pbonzini@redhat.com" , "cornelia.huck@de.ibm.com" , "amit.shah@redhat.com" Subject: RE: [RESEND PATCH v3 kernel 1/7] virtio-balloon: rework deflate to add page to a list Thread-Topic: [RESEND PATCH v3 kernel 1/7] virtio-balloon: rework deflate to add page to a list Thread-Index: AQHSK2WLYHxZh8Ut4kmbsbaniyfnDqC3T1GAgAESw2A= Date: Tue, 25 Oct 2016 01:14:04 +0000 Message-ID: References: <1477031080-12616-1-git-send-email-liang.z.li@intel.com> <1477031080-12616-2-git-send-email-liang.z.li@intel.com> <580E3ACD.1080906@intel.com> In-Reply-To: <580E3ACD.1080906@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjM4MDQyMTQtZmM2Yi00YTY2LWEyZmQtY2JiOTE3MDRlOGY5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Im9mTU1YTWRqUGNENkpvVXR3TzBUVjJuc1U4MHc1R2dpaGlcL1JjOEMyd1VZPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 10/20/2016 11:24 PM, Liang Li wrote: > > Will allow faster notifications using a bitmap down the road. > > balloon_pfn_to_page() can be removed because it's useless. > > This is a pretty terse description of what's going on here. Could you try to > elaborate a bit? What *is* the current approach? Why does it not work > going forward? What do you propose instead? Why is it better? Sure. The description will be more clear if it's described as you suggest. Thanks! Liang From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Li, Liang Z" Subject: RE: [RESEND PATCH v3 kernel 1/7] virtio-balloon: rework deflate to add page to a list Date: Tue, 25 Oct 2016 01:14:04 +0000 Message-ID: References: <1477031080-12616-1-git-send-email-liang.z.li@intel.com> <1477031080-12616-2-git-send-email-liang.z.li@intel.com> <580E3ACD.1080906@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "virtio-dev@lists.oasis-open.org" , "kvm@vger.kernel.org" , "amit.shah@redhat.com" , "qemu-devel@nongnu.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "pbonzini@redhat.com" , "virtualization@lists.linux-foundation.org" , "dgilbert@redhat.com" To: "Hansen, Dave" , "mst@redhat.com" Return-path: In-Reply-To: <580E3ACD.1080906@intel.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: kvm.vger.kernel.org > On 10/20/2016 11:24 PM, Liang Li wrote: > > Will allow faster notifications using a bitmap down the road. > > balloon_pfn_to_page() can be removed because it's useless. > > This is a pretty terse description of what's going on here. Could you try to > elaborate a bit? What *is* the current approach? Why does it not work > going forward? What do you propose instead? Why is it better? Sure. The description will be more clear if it's described as you suggest. Thanks! Liang From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by kanga.kvack.org (Postfix) with ESMTP id 3664D6B0282 for ; Mon, 24 Oct 2016 21:14:09 -0400 (EDT) Received: by mail-pa0-f71.google.com with SMTP id fl2so5747043pad.7 for ; Mon, 24 Oct 2016 18:14:09 -0700 (PDT) Received: from mga05.intel.com (mga05.intel.com. [192.55.52.43]) by mx.google.com with ESMTPS id i89si18053251pfj.295.2016.10.24.18.14.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2016 18:14:08 -0700 (PDT) From: "Li, Liang Z" Subject: RE: [RESEND PATCH v3 kernel 1/7] virtio-balloon: rework deflate to add page to a list Date: Tue, 25 Oct 2016 01:14:04 +0000 Message-ID: References: <1477031080-12616-1-git-send-email-liang.z.li@intel.com> <1477031080-12616-2-git-send-email-liang.z.li@intel.com> <580E3ACD.1080906@intel.com> In-Reply-To: <580E3ACD.1080906@intel.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: "Hansen, Dave" , "mst@redhat.com" Cc: "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "linux-mm@kvack.org" , "virtio-dev@lists.oasis-open.org" , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , "quintela@redhat.com" , "dgilbert@redhat.com" , "pbonzini@redhat.com" , "cornelia.huck@de.ibm.com" , "amit.shah@redhat.com" > On 10/20/2016 11:24 PM, Liang Li wrote: > > Will allow faster notifications using a bitmap down the road. > > balloon_pfn_to_page() can be removed because it's useless. >=20 > This is a pretty terse description of what's going on here. Could you tr= y to > elaborate a bit? What *is* the current approach? Why does it not work > going forward? What do you propose instead? Why is it better? Sure. The description will be more clear if it's described as you suggest. = Thanks! Liang=20 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byqJj-0004DO-Fl for qemu-devel@nongnu.org; Mon, 24 Oct 2016 21:14:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byqJe-0002dL-IE for qemu-devel@nongnu.org; Mon, 24 Oct 2016 21:14:15 -0400 Received: from mga04.intel.com ([192.55.52.120]:63913) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byqJe-0002cs-9A for qemu-devel@nongnu.org; Mon, 24 Oct 2016 21:14:10 -0400 From: "Li, Liang Z" Date: Tue, 25 Oct 2016 01:14:04 +0000 Message-ID: References: <1477031080-12616-1-git-send-email-liang.z.li@intel.com> <1477031080-12616-2-git-send-email-liang.z.li@intel.com> <580E3ACD.1080906@intel.com> In-Reply-To: <580E3ACD.1080906@intel.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RESEND PATCH v3 kernel 1/7] virtio-balloon: rework deflate to add page to a list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Hansen, Dave" , "mst@redhat.com" Cc: "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "linux-mm@kvack.org" , "virtio-dev@lists.oasis-open.org" , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , "quintela@redhat.com" , "dgilbert@redhat.com" , "pbonzini@redhat.com" , "cornelia.huck@de.ibm.com" , "amit.shah@redhat.com" > On 10/20/2016 11:24 PM, Liang Li wrote: > > Will allow faster notifications using a bitmap down the road. > > balloon_pfn_to_page() can be removed because it's useless. >=20 > This is a pretty terse description of what's going on here. Could you tr= y to > elaborate a bit? What *is* the current approach? Why does it not work > going forward? What do you propose instead? Why is it better? Sure. The description will be more clear if it's described as you suggest. = Thanks! Liang=20