看板FB_security
标 题Re: Collecting entropy from device_attach() times.
发信站NCTU CS FreeBSD Server (Thu Oct 4 00:34:27 2012)
转信站ptt!csnews.cs.nctu!news.cs.nctu!FreeBSD.cs.nctu!freebsd.org!owner-free
On Wed, 03 Oct 2012 11:32:45 +0200
Dag-Erling Sm=F8rgrav wrote:
> RW <[email protected]> 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).
>=20
> 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.=20
I was looking at my local source where it's still conditional on
"tsc_present".
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"