|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: rdtsc: correctness vs performance on Xen (and KVM?)
On 01/09/2009 16:26, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:
>> I think these are probably possible, at least for a 64-bit
>> hypervisor which
>> isn't playing segment limit tricks.
>
> Will it work for pv32_on_64? (I don't care much about
> 32-bit hypervisor.)
It could do. Space is reserved at the top of 4GB for the M2P tables, and I
suppose such a mapping could go there.
>> Won't the pvclock computation be per-cpu? How will you deal with
>> that?
>
> Hmmm... is it possible for the same virtual address/page
> to map to a different physical address/page on each processor?
Not without PV guest kernel support. The guest kernel manages the page
directories. And Linux runs threads on exactly the same pagetables across
different cpus. That would have to change.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|