From: Dan Magenheimer Subject: RE: More on 2.6.28 and balloon driver Date: Wed, 7 Jan 2009 17:40:55 +0000 (GMT) Message-ID: References: <35ec6f96-240d-4625-a5b1-c7926b9d541a@default> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <35ec6f96-240d-4625-a5b1-c7926b9d541a@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org Hi Jeremy -- It appears that in the upstream balloon driver, the call to HYPERVISOR_update_va_mapping is missing from decrease_reservation. I think as a result, the balloon driver is eating memory but not releasing it to Xen, thus rendering the balloon driver essentially useless. (Can be observed via xentop.) Is this just a bug/oversight, or was there maybe a problem pushing this code upstream? Thanks, Dan P.S. Also please see related balloon driver thread on xen-devel yesterday (Jan 06). > -----Original Message----- > From: Dan Magenheimer=20 > Sent: Tuesday, January 06, 2009 5:53 PM > To: Xen-Devel (E-mail) > Subject: [Xen-devel] More on 2.6.28 and balloon driver >=20 >=20 > Can't prove it yet, but it appears that when 2.6.28 > is ballooned to use less memory, the pages aren't > actually returned to the domain's available pool > of memory in Xen. >=20 > I've got some code (to be posted soon) that does > an alloc_domheap_pages(d,0,0) after domain d balloons > to use less memory. The code works with linux-2.6.18-xen > and linux-2.6.27-xen, but not with 2.6.28... the > allocate fails. >=20 > Any good reason why this might be different? Or should > I dig for a bug / code difference? >=20 > Also, I am still on xen 3.3.0+ so if this was fixed > later, please let me know. >=20 > Dan >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >=20 >