xen-devel
[Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL
To: |
Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Subject: |
[Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL |
From: |
Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> |
Date: |
Thu, 23 Jul 2009 09:45:29 -0700 (PDT) |
Cc: |
"Dong, Eddie" <eddie.dong@xxxxxxxxx>, John Levon <levon@xxxxxxxxxxxxxxxxx> |
Delivery-date: |
Thu, 23 Jul 2009 09:51:26 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<C68E4433.10450%keir.fraser@xxxxxxxxxxxxx> |
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> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
> >> pre-VT it wasn't possible to trap RDTSC, so this can't
> help PV guests.
> >
> > For PV guests, CR4.TSD would always be set, generating
> > a general protection fault for every rdtsc. (Or perhaps
> > I am missing some x86 architectural subtlety? This is
> > how it is done on ia64.)
>
> Forgot about CR4.TSD. Of course it's not going to be a super
> fast path,
> since #GP(0) will need to be demuxed by decoding the faulting
> instruction in
> the hypervisor, via a not-so-short path.
And demuxing/decoding can never be "fast enough"?
Even if this particular situation is special-cased?
I'm not saying it will be pretty, or maintainable,
just wondering what the best possible could be?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, (continued)
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Zhang, Xiantao
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Ian Pratt
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL,
Dan Magenheimer <=
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Zhang, Xiantao
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
|
|
|