All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: James Harper <james.harper@bendigoit.com.au>,
	xen-devel@lists.xensource.com
Subject: Re: TPR write optimization (even improves 2003 sp2)
Date: Wed, 07 Jan 2009 08:57:05 +0000	[thread overview]
Message-ID: <C58A1EE1.20CDC%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D01550224@trantor>

On 07/01/2009 02:59, "James Harper" <james.harper@bendigoit.com.au> 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

  reply	other threads:[~2009-01-07  8:57 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-07  2:09 TPR write optimization James Harper
2009-01-07  2:59 ` TPR write optimization (even improves 2003 sp2) James Harper
2009-01-07  8:57   ` Keir Fraser [this message]
2009-01-07  9:14     ` James Harper
2009-01-07  9:20       ` Keir Fraser
2009-01-07  9:33         ` James Harper
2009-01-07  9:53           ` Keir Fraser
2009-01-07 10:05             ` James Harper
2009-01-07 10:26               ` Keir Fraser
2009-01-07 12:12                 ` James Harper
2009-01-07 12:15                   ` James Harper
2009-01-07 12:24                   ` Keir Fraser
2009-01-07 22:51                     ` James Harper
2009-01-08  0:40                       ` James Harper
2009-01-08  3:53                         ` James Harper
2009-01-08  9:08                           ` Keir Fraser
2009-01-08  9:10                             ` James Harper
2009-01-08  9:07                         ` Keir Fraser
2009-01-08  9:09                           ` James Harper
2009-01-08  9:12                             ` Keir Fraser
2009-01-08  9:14                               ` James Harper
2009-01-08  9:14                             ` Keir Fraser
2009-01-08  9:17                               ` James Harper
2009-01-07 12:35                 ` James Harper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C58A1EE1.20CDC%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=james.harper@bendigoit.com.au \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.