From owner-svn-src-head@FreeBSD.ORG Tue Mar 15 21:14:26 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 9122B106566C; Tue, 15 Mar 2011 21:14:26 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: John Baldwin Date: Tue, 15 Mar 2011 17:14:14 -0400 User-Agent: KMail/1.6.2 References: <201103151947.p2FJlK3L057573@svn.freebsd.org> <201103151701.11708.jhb@freebsd.org> In-Reply-To: <201103151701.11708.jhb@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103151714.15829.jkim@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219676 - head/sys/x86/x86 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2011 21:14:26 -0000 On Tuesday 15 March 2011 05:01 pm, John Baldwin wrote: > 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. You can still change timecounter frequency. Can you please explain why you need to change tsc_freq directly? Jung-uk Kim