On Wed, 03 Oct 2012 11:32:45 +0200
Dag-Erling Smørgrav wrote:

> RW <rwmailli...@googlemail.com> writes:
> > It doesn't compute it in a weird way for amd64 and most i386
> > systems. Where possible, get_cyclecount is just a wrapper for
> > rdtsc, which I think it will be for all the systems you quoted
> > (with the possible exception of virtualbox).
> 
> No.  All the machines I tested it on had TSCs, but not all i386
> machines we support do, so get_cyclecount() is always a function call
> on i386. Look at the code, or heck, disassemble my kernel if you
> don't believe me.

It appears that it changed in April (Revision 220347), so if they were
all running 9.1, 9-stable or head then you're quite right. 

I was looking at my local source where it's still conditional on
"tsc_present".
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

Reply via email to