From: Keir Fraser <keir.fraser@eu.citrix.com>
To: "Tian, Kevin" <kevin.tian@intel.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] Adjust time init sequence
Date: Thu, 11 Dec 2008 09:04:39 +0000 [thread overview]
Message-ID: <C5668827.20145%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <0A882F4D99BBF6449D58E61AAFD7EDD603BB491F@pdsmsx502.ccr.corp.intel.com>
On 11/12/2008 00:47, "Tian, Kevin" <kevin.tian@intel.com> wrote:
> I guess not, due to same reason as why I sent out 1st patch idle
> vcpu state entry. The point is the current TSC value, which count
> from power on and is translated to a dozens of seconds for elapsed
> time upon a zero tsc stamp. :-( I didn't realize that point in the start...
Ah, because it's set up in early_time_init().
By the way, instead of avoiding NOW() early on, could we just set
local_tsc_stamp in early_time_init()? Then we could use NOW() when
initialising idle VCPUs, and also early on in init_xen_time()?
We could set stime_platform_stamp = NOW() too, so that platform time is
kicked off following BP's time.
I could send a patch which I find tasteful if you think this could work? :-)
-- Keir
next prev parent reply other threads:[~2008-12-11 9:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 13:10 [PATCH] Adjust time init sequence Tian, Kevin
2008-12-10 13:49 ` Keir Fraser
2008-12-11 0:23 ` Tian, Kevin
2008-12-11 0:44 ` Keir Fraser
2008-12-11 0:47 ` Tian, Kevin
2008-12-11 4:45 ` Tian, Kevin
2008-12-11 9:04 ` Keir Fraser [this message]
2008-12-11 9:06 ` Tian, Kevin
2008-12-11 13:12 ` Keir Fraser
2008-12-12 3:40 ` Tian, Kevin
2008-12-12 9:08 ` Keir Fraser
2008-12-12 10:10 ` Jan Beulich
2008-12-12 10:38 ` Keir Fraser
2008-12-12 16:40 ` Tian, Kevin
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=C5668827.20145%keir.fraser@eu.citrix.com \
--to=keir.fraser@eu.citrix.com \
--cc=kevin.tian@intel.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.