From: "pradeep singh rautela" Subject: Re: Swapping of PT pages Date: Wed, 20 Feb 2008 02:14:32 +0530 Message-ID: <6bc632150802191244j16f7575ctf4bba69e57abc9d4@mail.gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Mike Sun Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 20/02/2008, Mike Sun 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@lists.xensource.com > http://lists.xensource.com/xen-devel > -- Pradeep Singh Rautela http://eagain.wordpress.com http://emptydomain.googlepages.com