WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Swapping of PT pages

To: "Mike Sun" <msun@xxxxxxxxxx>
Subject: Re: [Xen-devel] Swapping of PT pages
From: "pradeep singh rautela" <rautelap@xxxxxxxxx>
Date: Wed, 20 Feb 2008 02:14:32 +0530
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 19 Feb 2008 12:44:59 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=yo590MQWGyHvaFhvcDyxFsVHanWTXY2W2a2ABmFlz70=; b=eSYfAF0+zpcGPoDxS70R8E71R9v0sDPcX/0kMn0sDlqFB48IaE+Of8wrOVyN50+tkRbOurklxMDc/OvKy/zYRR0KXvG5qtAQqczm7AZEHgVwP8SO6jvTypTK9YLt3xYVtBQEV+lpvj44Q4lPG7/MIVXaWO8Hwdp3Ezf1KVmpI5Y=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Njnm0men6ZN+5D6Ut8qgh62WBkUwM57uG4pmSm++rdCrjvGcl6oMvlgwu4ti67V/0L/GKUMBRl9BUV1UpVRM0L6hbAE+SNn17A6T+zwyCu2DMpGhGcX4QpRF8rlWGzE7CEleSlMAlKhu4DIGRbNHhwDjw4Hnf6ND2353s4TGaJg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e4e579070802191227q72bc5682g1e6be01ad19519e4@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <e4e579070802191227q72bc5682g1e6be01ad19519e4@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 20/02/2008, Mike Sun <msun@xxxxxxxxxx> wrote:
> Hi --
>
> In examining the domain save/migration code (xc_domain_save.c), I came
> across the step in which page table page frames in memory are
> canonicalized so that mfns are translated to pfns before those pages
> are written out to the saved image/destination host.  This makes me
> wonder if a PV host is allowed to swap out page table pages if it so

I suspect Xen translates the mfns of the PV guests PT pages to
equivalent pfns before they can be actually swapped out on to a
physical disk.

May be I am wrong i guess as i do not have the source handy at the moment.

Please CMIIW.

Thanks,

> decided; if swapping of PT pages were allowed, then wouldn't certain
> page table pages not be canonicalized (since they would be on disk,
> not in any of the machine frames).  This obviously be bad.
>
> Am I understanding things incorrectly?
>
> Thanks,
> Mike
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>


-- 
Pradeep Singh Rautela
http://eagain.wordpress.com
http://emptydomain.googlepages.com

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>