svn commit: r219676 - head/sys/x86/x86

John Baldwin jhb at freebsd.org
Tue Mar 15 21:01:15 UTC 2011


On Tuesday, March 15, 2011 3:47:20 pm Jung-uk Kim wrote:
> Author: jkim
> Date: Tue Mar 15 19:47:20 2011
> New Revision: 219676
> URL: http://svn.freebsd.org/changeset/base/219676
> 
> Log:
>   Do not let machdep.tsc_freq modify tsc_freq itself.  It is bad for i386 as
>   it does not operate atomically.  Actually, it serves no purpose.
>   
>   Noticed by:	bde

Ouch,  please revert!   We have depended on this for testing to workaround 
BIOS issues (e.g. the USB SMI# handler firing at a bad time during boot 
causing the TSC frequency to be calculated incorrectly).  I agree it's a hack 
that this works, but it has actually proven useful in the past.

-- 
John Baldwin


More information about the svn-src-all mailing list