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

RE: [Xen-devel] write_tsc in a PV domain?



> > Jeremy's claim is that because some apps-that-use-
> > rdtsc risk bugginess, Xen can claim rdtsc for its own
> > use and effectively disallow all uses of rdtsc in any
> > app by breaking the existing, sometimes-useful semantics
> > of the instruction.
> 
> If Xen is hiding the tsc cpu feature from the
> kernel/apps it can.

True, it can, but Xen does not currently do so and there
has been no proposal for Xen to do so.  And given Xen's
policy of supporting all existing applications, I don't
expect that a proposal to hide the tsc cpu feature
will fly.

> One problem there is a lot of grotty code simply
> explodes without rdtsc working.

Indeed.  While it might be satisfying to legislate
against stupidity, it rarely works. :-)

> The alternative is to virtualise the TSC as some other 
> hypedvisors do but that has other impacts.

Yes, this is where this whole discussion started.
Let me summarize, but start a separate thread to do so.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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