All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: "Xen-Devel (E-mail)" <xen-devel@lists.xensource.com>
Subject: Re: softtsc for PV guests
Date: Fri, 21 Aug 2009 16:59:58 -0700	[thread overview]
Message-ID: <4A8F34FE.6040602@goop.org> (raw)
In-Reply-To: <dd256b18-7a63-4a4d-93fb-7c6208d2aeab@default>

On 08/21/09 16:31, Dan Magenheimer wrote:
> Enabling CR4_TSD only traps ring>0 rdtscs.  Trapping guest kernel
> rdtsc's is ultimately necessary because the Linux kernel does NOT
> adequately handle all the possible changes in TSC characteristics
> that can occur if Xen moves an already booted guest from one
> physical machine to another (or even from one set of pcpus
> to another on certain physical machines).  I recognize this
> is very ugly, but it may be the only way to guarantee
> correctness 100% of the time.

PV guests already correct for that by using the data Xen provides; they
don't require Xen to do any correction or synthesis of tsc values.

> The system is definitely not dead, but dom0 is busy looping or
> something.  I can probably isolate the code, but the xen
> changes seem small enough that it's hard to believe they
> could cause this kind of problem.
>   

'0' on the Xen console will tell you where its spinning.  Oh, is it dom0
or domU?

    J

  parent reply	other threads:[~2009-08-21 23:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-21 22:17 softtsc for PV guests Dan Magenheimer
2009-08-21 23:02 ` Jeremy Fitzhardinge
2009-08-21 23:31   ` Dan Magenheimer
2009-08-21 23:38     ` Dan Magenheimer
2009-08-21 23:59     ` Jeremy Fitzhardinge [this message]
2009-08-23 16:42       ` Dan Magenheimer
2009-08-23 17:03         ` Jeremy Fitzhardinge
2009-08-23 19:26           ` Dan Magenheimer
2009-08-24 16:43             ` Jeremy Fitzhardinge
2009-08-24 17:58               ` Dan Magenheimer
2009-08-24 21:20               ` Dan Magenheimer

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=4A8F34FE.6040602@goop.org \
    --to=jeremy@goop.org \
    --cc=dan.magenheimer@oracle.com \
    --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.