From: "George Dunlap" Subject: Re: [RFC][PATCH] 0/9 Populate-on-demand memory Date: Wed, 24 Dec 2008 15:46:00 +0000 Message-ID: References: <30c85335-4729-4ae4-bb24-0c9dc2abe3cf@default> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <30c85335-4729-4ae4-bb24-0c9dc2abe3cf@default> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer Cc: "Tian, Kevin" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Dec 24, 2008 at 3:35 PM, Dan Magenheimer wrote: >> We could to allocate a new page at that point; but it's likely that >> the allocation will fail unless there happens to be memory lying >> around somewhere, not used by dom0 or any other doamin. And if that >> were the case, why not just start it with that much memory to begin >> with? > > Actually, if dom0_mem is used rather than the default of letting > domain0 absorb all free memory and dole it as needed to launching > VMs, there will almost always be some memory lying around. At any rate, I suppose it might not be a bad idea to *try* to allocate more memory in an emergency. I'll add that to the list of improvements. -George