svn commit: r209119 - head/sys/sys

Gabor PALI pgj at FreeBSD.org
Fri Jul 9 18:58:54 UTC 2010


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




More information about the svn-src-head mailing list