From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI0uT-0004MN-IV for qemu-devel@nongnu.org; Tue, 19 Mar 2013 14:05:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UI0uJ-0002f7-Ux for qemu-devel@nongnu.org; Tue, 19 Mar 2013 14:05:14 -0400 Received: from e8.ny.us.ibm.com ([32.97.182.138]:53464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI0uJ-0002az-QZ for qemu-devel@nongnu.org; Tue, 19 Mar 2013 14:05:07 -0400 Received: from /spool/local by e8.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Mar 2013 14:05:04 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id D0BC1C9005C for ; Tue, 19 Mar 2013 14:04:59 -0400 (EDT) Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r2JI4puk298254 for ; Tue, 19 Mar 2013 14:04:54 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r2JI4lu4029792 for ; Tue, 19 Mar 2013 15:04:47 -0300 Message-ID: <5148A8BC.8080705@linux.vnet.ibm.com> Date: Tue, 19 Mar 2013 14:04:44 -0400 From: "Michael R. Hines" MIME-Version: 1.0 References: <1363576743-6146-1-git-send-email-mrhines@linux.vnet.ibm.com> <1363576743-6146-4-git-send-email-mrhines@linux.vnet.ibm.com> <20130318104013.GE5267@redhat.com> <5147780C.1080800@linux.vnet.ibm.com> <20130318212646.GB20406@redhat.com> <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> In-Reply-To: <5148A5FB.1000209@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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, "Michael S. Tsirkin" , qemu-devel@nongnu.org, owasserm@redhat.com, abali@us.ibm.com, mrhines@us.ibm.com, gokul@us.ibm.com On 03/19/2013 01:52 PM, Paolo Bonzini wrote: > 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? :) /dev/pagemap is a recent interface for eserland accesses to the pagetables. https://www.kernel.org/doc/Documentation/vm/pagemap.txt It would very easily tell you (without extra tracking) which pages were mapped and which were not mapped. It should work for both cgroups and ballooning. We've used it before. - Michael