|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] Re: rdtsc hypercall, from userland?!? (was: rdtsc: corre
To: |
Jan Beulich <JBeulich@xxxxxxxxxx>, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> |
Subject: |
RE: [Xen-devel] Re: rdtsc hypercall, from userland?!? (was: rdtsc: correctness vs performance on Xen) |
From: |
Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx> |
Date: |
Thu, 10 Sep 2009 11:14:02 +0100 |
Accept-language: |
en-US |
Acceptlanguage: |
en-US |
Cc: |
Ian, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx> |
Delivery-date: |
Thu, 10 Sep 2009 03:15:37 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<4AA8EB55020000780001478B@xxxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<6dfe825c-f49e-402e-81d0-e8eaee3c9cda@default> <4AA8EB55020000780001478B@xxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
Acox/l0yOKZpVxqTRWGouw4vhoiszQAAHFTg |
Thread-topic: |
[Xen-devel] Re: rdtsc hypercall, from userland?!? (was: rdtsc: correctness vs performance on Xen) |
> While possible, I'd suspect that the good performance you see for
> 64-bits wouldn't hold: You can't (without potential for ambiguity)
> re-use syscall for this purpose.
I'll bet all current 64b PV OSes use EAX as a simple system call number, so
it's probably possible to do something hacky with negative values, after
suitable auditing of current PV OSes and other common OSes. Not pretty, but I
wouldn't throw the scheme out if an audit confirms the behaviour.
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|