Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2011 10:29:46 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>, Bruce Evans <brde@optusnet.com.au>
Subject:   Re: svn commit: r219676 - head/sys/x86/x86
Message-ID:  <201103241029.57358.jkim@FreeBSD.org>
In-Reply-To: <201103241358.aa30354@walton.maths.tcd.ie>
References:  <201103241358.aa30354@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 24 March 2011 09:58 am, David Malone wrote:
> > No new ones.  Just the old ones of updating the frequency and all
> > related variables without races.
>
> Is something simple, line an atomic write, an option for this? I
> guess we don't have 64-bit atomic writes on all platforms, but we
> could support it on some platforms.

If atomic 64-bit read/write is possible and it is absolutely 
necessary, it has to be set via machdep.foo_freq, not 
kern.timecounter.foo.frequency.

Jung-uk Kim



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