Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jul 2010 20:31:42 +0200
From:      Gabor PALI <pgj@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        svn-src-head@freebsd.org
Subject:   Re: svn commit: r209119 - head/sys/sys
Message-ID:  <4C376B0E.9050505@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
On 06/18/10 14:08, Robert Watson wrote:
> The only reservation I have, really, is that 64-bit writes are
non-atomic on
> i386 and other 32-bit architectures (or, at least, I think they are).
This
> means DPCPU_SUM may encounter non-atomicity rather than just staleness
in the
> values it reads as it iterates. That said, we should probably use 64-bit
> anyway, because 32-bit counters are gauche. :-)

What is about introducing 64-bit atomic counters?


Cheers,
:g





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