From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: [PATCH 1/2] PV hugepages - Xen patch Date: Wed, 08 Oct 2008 15:50:56 -0700 Message-ID: <48ED3950.1080605@goop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: 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: Ian Pratt , Dave McCracken , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > Actually this is an interesting one. For a PV guest it may be in general > unsolvable, since the target machine may not have allocatable 2MB extents. > It may also screw live migration since 2MB is a very coarse granularity to > do dirty-page tracking. One option: perhaps the PV kernel could shatter and > then reconstruct (as best it can) superpage mappings across save/restore? That means you need to notify the guest when you're starting a live migration, rather than just springing it on them at the last moment as we do now. But shattering large pages all over the place is going to be pretty expensive, and possibly awkward if it suddenly needs to come up with a pile of pages for the new L1 entries. J