From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIIk3-0002nq-1G for qemu-devel@nongnu.org; Wed, 20 Mar 2013 09:07:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIIk0-0001EB-57 for qemu-devel@nongnu.org; Wed, 20 Mar 2013 09:07:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIIjz-0001Dy-Tn for qemu-devel@nongnu.org; Wed, 20 Mar 2013 09:07:40 -0400 Date: Wed, 20 Mar 2013 15:07:54 +0200 From: "Michael S. Tsirkin" Message-ID: <20130320130754.GA9777@redhat.com> References: <5147A209.80202@linux.vnet.ibm.com> <20130319081939.GC11259@redhat.com> <51487F68.2060305@linux.vnet.ibm.com> <20130319151606.GA13649@redhat.com> <51488521.4010909@linux.vnet.ibm.com> <20130319153658.GA14317@redhat.com> <51489BC3.3030504@linux.vnet.ibm.com> <51489D05.2000400@redhat.com> <5148A2F6.1070206@linux.vnet.ibm.com> <5148A5FB.1000209@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5148A5FB.1000209@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH RDMA support v4: 03/10] more verbose documentation of the RDMA transport List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, "Michael R. Hines" , owasserm@redhat.com, abali@us.ibm.com, mrhines@us.ibm.com, gokul@us.ibm.com On Tue, Mar 19, 2013 at 06:52:59PM +0100, Paolo Bonzini wrote: > Il 19/03/2013 18:40, Michael R. Hines ha scritto: > > registration scheme would not work with cgroups because we would be > > attempting to pin zero pages (for no reason) that cgroups has already > > kicked out, which would defeat the purpose of using cgroups. > > Yeah, pinning would be a problem. > > > So, if I submit a separate patch to fix this, would you guys review it? > > (Using /dev/pagemap). > > Sorry about the ignorance, but what is /dev/pagemap? :) > > > Unless there is a better idea? Does KVM expose the necessary mappings? > > We could have the balloon driver track the pages. I and Michael had > some initial work a few months ago on extending the virtio-balloon spec > to allow this. It went nowhere, though. > > Still, at this point this is again an RDMA-specific problem, I don't > think it would be that bad if the first iterations of RDMA didn't > support ballooning/overcommit. > > Paolo My problem is with the protocol. If it assumes at the protocol level that everything is pinned down on the destination, we'll have to rework it all to make it really useful. -- MST