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

Bruce Evans brde at optusnet.com.au
Mon Mar 21 18:49:54 UTC 2011


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


More information about the svn-src-head mailing list