From: Vincent Hanquez Subject: Re: [PATCH 3/7] libxenlight resend: 8mb physmap slack for pv domains Date: Thu, 3 Dec 2009 16:10:13 +0000 Message-ID: <20091203161013.GB16684@gwig.uk.xensource.com> References: <4B16AB3F.4000809@lagarcavilla.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <4B16AB3F.4000809@lagarcavilla.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andres Lagar-Cavilla Cc: "xen-devel@lists.xensource.com" , Vincent Hanquez , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, Dec 02, 2009 at 06:00:31PM +0000, Andres Lagar-Cavilla wrote: > Contemplate 8MB of slack for PV domains, since they > do ballooning (or flipping network rx) and need > some extra room in their pfn space. > > Note that this does not allocate any extra memory > to the domain, it simply extends the physmap with > some extra room for "bounce bufffering back" pfn's > that are yielded to dom0. but the memory is still going off from somewhere isn't it ? all those random memory constants spread around in xend took us quite some time to get things right in XCP and XenServer, and also for keeping the library as dumb as possible, I'ld rather have the toolstack set the field in the structure (even if it end up beeing 8M all the time) than starting adding those things. -- Vincent