Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 05:49:49 +1100 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        src-committers@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>, svn-src-all@FreeBSD.org, Bruce Evans <brde@optusnet.com.au>, svn-src-head@FreeBSD.org, Jung-uk Kim <jkim@FreeBSD.org>
Subject:   Re: svn commit: r219676 - head/sys/x86/x86
Message-ID:  <20110322054501.J3574@besplex.bde.org>
In-Reply-To: <20110320094129.GA79235@walton.maths.tcd.ie>
References:  <201103151947.p2FJlK3L057573@svn.freebsd.org> <201103151701.11708.jhb@freebsd.org> <201103151714.15829.jkim@FreeBSD.org> <20110316155820.D4010@besplex.bde.org> <20110320094129.GA79235@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Mar 2011, David Malone wrote:

> On Wed, Mar 16, 2011 at 04:34:10PM +1100, Bruce Evans wrote:
>> Please revert.  I use this for setting timecounters from userland.  The
>> sysctl is not a hack, but the primary user interface for managing the
>> TSC frequency.  The kern.timecounter.tc.TSC.frequency sysctl is
>> secondary, and is readonly anyway, so it cannot be used to manage the
>> TSC frequency or even the timecounter frequency.
>
> Some people have asked me if I can make kern.timecounter.tc.*.frequency
> writeable. I have it on my list of jobs to look at, but haven't had
> a chance yet. Are there any obvious problems with this?

No new ones.  Just the old ones of updating the frequency and all related
variables without races.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110322054501.J3574>