|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] write_tsc in a PV domain?
On 08/26/09 08:42, Dan Magenheimer wrote:
> But ARCHITECTURALLY does Xen consider write_tsc to be a no-op
> for PV domains, or is this just a case that's never been
> encountered before? In other words, if a future PV OS had a
> good reason to write_tsc, would we implement it (and make
> the necessary adjustments to Xen's usages of tsc) or just say,
> sorry, not allowed?
>
You can think of it this way: a Xen PV VCPU has no tsc. There is a
register that can be read with "rdtsc", but that're purely part of Xen's
time ABI and is not independently useful. The ABI includes no notion of
writing to that register. Usermode code can execute "rdtsc", but
without access to the rest of the time parameters it just returns some
undefined bits with no relationship to time.
J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Jeremy Fitzhardinge
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Keir Fraser
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Keir Fraser
- Re: [Xen-devel] write_tsc in a PV domain?,
Jeremy Fitzhardinge <=
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Jeremy Fitzhardinge
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Chris Lalancette
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Chris Lalancette
- Re: [Xen-devel] write_tsc in a PV domain?, Alan Cox
- Re: [Xen-devel] write_tsc in a PV domain?, Jeremy Fitzhardinge
- RE: [Xen-devel] write_tsc in a PV domain?, Dan Magenheimer
- Re: [Xen-devel] write_tsc in a PV domain?, Alan Cox
|
|
|
|
|