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

[Xen-devel] Question About Shadow Page Table OOS Optimization

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Question About Shadow Page Table OOS Optimization
From: "zhujun" <zhujun@xxxxxxxxxxxxxx>
Date: Thu, 18 Jun 2009 10:00:45 +0800
Delivery-date: Thu, 18 Jun 2009 01:41:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnvuJefTiMa5f9aRkKOHuBzQrfVQQ==

Hi, Friends

         I am going over shadow page table code and have a question about oos optimization. When shadow page table is established, if a guest page table entry marked as Dirty=0, the corresponding shadow page table entry clears R/W bit. Thus, when the guest modifies the page frame, xen’s page fault handler marks the guest page table’s entry as Dirty=1. Also, the guest page table is put into oos list. My question is if the guest clears the Dirty bit, how does hypervisor know it and when is the Dirty bit set again? If guest os modifies the page frame again, does the guest page table entry’s Dirty bit reflect this information immediately?

 

zhujun

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>