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

Re: [Xen-devel] [PATCH] Adjust time init sequence

On 11/12/2008 00:47, "Tian, Kevin" <kevin.tian@xxxxxxxxx> 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

Xen-devel mailing list



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