From: Dan Magenheimer Subject: RE: Re: [PATCH] EPT: Only sync pcpus on which a domain's vcpus might be running Date: Fri, 18 Sep 2009 10:06:04 -0700 (PDT) Message-ID: <4311ef21-888d-4fe6-95e6-7c3fe00b6d46@default> References: Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap , Keir Fraser Cc: Xiaohui Xin , xen-devel@lists.xensource.com, Deegan Tim, Xin Li , Jun Nakajima , Paul Durrant List-Id: xen-devel@lists.xenproject.org > In theory, the memory handed back by the balloon driver shouldn't be > touched by the OS. I think it would be OK if guess accesses to that > gfn space didn't fail for the guest giving up the pages; however, we > can't give the memory to another guest until we know for sure that the > first guest can't possibly access it anymore. I think we should be > able to modify the balloon driver to "batch" some number of updates; > say, 1024 at a time. Paul, any thoughts on this? Not sure if this is relevant, but tmem can and will grab memory handed back by the balloon driver for one guest and immediately use it for another guest's data. So I hope the ballooning guest can't possibly access it anymore! Dan