From owner-svn-src-all@FreeBSD.ORG Mon Mar 21 18:49:54 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 799E4106566C; Mon, 21 Mar 2011 18:49:54 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id EB9D98FC13; Mon, 21 Mar 2011 18:49:53 +0000 (UTC) Received: from c122-107-125-80.carlnfd1.nsw.optusnet.com.au (c122-107-125-80.carlnfd1.nsw.optusnet.com.au [122.107.125.80]) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p2LInngo015166 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Mar 2011 05:49:50 +1100 Date: Tue, 22 Mar 2011 05:49:49 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: David Malone In-Reply-To: <20110320094129.GA79235@walton.maths.tcd.ie> Message-ID: <20110322054501.J3574@besplex.bde.org> 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@FreeBSD.org, John Baldwin , svn-src-all@FreeBSD.org, Bruce Evans , svn-src-head@FreeBSD.org, Jung-uk Kim Subject: Re: svn commit: r219676 - head/sys/x86/x86 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 18:49:54 -0000 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