Collecting entropy from device_attach() times.
Dag-Erling Smørgrav
des at des.no
Wed Oct 3 09:32:47 UTC 2012
RW <rwmaillists at 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.
(did you even look at my numbers?)
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-security
mailing list