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] Windows SMP

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Wei Huang" <wei.huang2@xxxxxxx>
Subject: RE: [Xen-devel] Windows SMP
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 31 Dec 2008 19:35:27 +1100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Dirk Utterback <dirk.utterback@xxxxxxxxx>, Venefax <venefax@xxxxxxxxx>
Delivery-date: Wed, 31 Dec 2008 00:36:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0A882F4D99BBF6449D58E61AAFD7EDD603BB4A3C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <495A5332.1020204@xxxxxxx><C5805010.20A14%keir.fraser@xxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01550148@trantor> <0A882F4D99BBF6449D58E61AAFD7EDD603BB4A3C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclqzVmMSPSrJKoOjkW3kVbHoGxRxwAUqL0AAABM0MAAAESCUA==
Thread-topic: [Xen-devel] Windows SMP
> >Is there a similar approach that would work on an Intel system?
> 
> On Intel CPU with FlexPriority support, you don't need patching
> guest since TPR accesses would be recognized  by hardware
> for acceleration automatically.
> 
> But on CPUs without h/w acceleration support, you may expect
> borrow that overall idea, but instead of patching with LOCK MOV
> CR0, you would replace it with a piece of code lines to emulate
> similar acceleration as what h/w is assumed to do.
> 

Do you have an example :)

One thing Keir suggested would be to install the patch to jump to some
code which compared the value being written to the TPR register with the
value last written, and only perform the actual write if the values are
different. I can do that without too much fuss but if there is something
faster then even better.

Thanks

James

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

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