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] RE: recreate monitor page table?

To: "Tim Deegan" <Tim.Deegan@xxxxxxxxxxxxx>
Subject: [Xen-devel] RE: recreate monitor page table?
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Thu, 19 Apr 2007 00:02:16 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 Apr 2007 09:01:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070418155908.GA719@xxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceB0pLTF62j+50DToyg31UstoNQ9QAADsPQ
Thread-topic: recreate monitor page table?
>At 23:46 +0800 on 18 Apr (1176940011), Li, Xin B wrote:
>> On x86_64, monitor page table should always be 4 level, and we can
>> uninstall the old shadow linear entry and install new shadow 
>paging mode
>> entry, why even recreate the monitor top level page?
>
>We could have made a routine to adjust the layout of the monitor table
>given the old and new modes, but it would have to understand two modes
>at once, which nothing else in multi.c does.  It would also reproduce 
>code that's already in sh_make_monitor_table and
sh_destroy_monitor_table.
>Since we don't expect it to be worth optimizing this path, we just used
>the existing routines.


Thanks
Quite clear to me now :-)

-Xin

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