[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] TPR write optimization (even improves 2003 sp2)


  • To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Wed, 07 Jan 2009 08:57:05 +0000
  • Cc:
  • Delivery-date: Wed, 07 Jan 2009 00:57:26 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AclwbQESFc81qMn2SR2vAjv2yU5MgQABpemAAAyUQdE=
  • Thread-topic: [Xen-devel] TPR write optimization (even improves 2003 sp2)

On 07/01/2009 02:59, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

> Is there such a facility available under Intel CPU's, other than the
> latest 'flex priority' stuff which I am about to read up on?

The LOCK MOV CR0 trick doesn't work on Intel CPUs. You should have space to
patch in a JMP instruction though, and then you can shadow the TPR value and
only do actual writes when the value changes.

 -- Keir



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.