From: Keir Fraser Subject: Re: [PATCH 0/5] dump-core take 2: Date: Thu, 18 Jan 2007 14:00:38 +0000 Message-ID: References: <20070118083302.GD15865%yamahata@valinux.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070118083302.GD15865%yamahata@valinux.co.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Isaku Yamahata Cc: xen-ia64-devel@lists.xensource.com, xen-devel@lists.xensource.com, Dave Anderson , John Levon List-Id: xen-devel@lists.xenproject.org On 18/1/07 08:33, "Isaku Yamahata" wrote: > max_pfn isn't sufficient. > Memory may be sparse on ia64 so that iterating on [0, max_pfn - 1] > isn't practical. It would take too long time. > Mempry map is also necessary to avoid dumping I/O regions of a driver domain. But *you* make up the memory map. Why can't you make it dense for virtual machines? If you can't, how about pre-defining where the holes are and implicitly sharing that knowledge between the builder and sav/restore. They're part of the same toolstack after all. And if the memory map's extremely sparse that would make saving zero pages for empty PFNs even more sucky. Or do you avoid that for big holes? -- Keir