From: Tim Deegan Subject: Re: Re: super page with live migration Date: Fri, 26 Sep 2008 10:08:57 +0100 Message-ID: <20080926090857.GA3780@york.uk.xensource.com> References: <20080926074531.GA12042@edwin-srv.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline 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: Keir Fraser Cc: xen-devel@lists.xensource.com, "Zhai, Edwin" List-Id: xen-devel@lists.xenproject.org At 10:03 +0100 on 26 Sep (1222423431), Keir Fraser wrote: > Yes: If pseudo-phys page is not yet populated in target domain, AND it is > first page of a 2MB extent, AND no other pages in that extent are yet > populated, AND the next pages in the save-image stream populate that extent > in order, THEN allocate a superpage. This is made trickier by the fact that > the next 511 pages (to make the 2MB extent) might be split across a batch > boundary. So we'll have to optimistically allocate a superpage in that case, > and then shatter it if it turns out that the contiguous stream of > pseudo-phys addresses is broken in the next batch. Or flag the start-of-a-superpage frames when saving them? Tim. -- Tim Deegan Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.]