Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2001 16:57:25 +0000
From:      Thomas Hurst <tom.hurst@clara.net>
To:        arch@freebsd.org
Subject:   Re: 64 bit counters
Message-ID:  <20011226165725.GA96426@voi.aagh.net>
In-Reply-To: <Pine.BSF.4.41.0112261654060.20665-100000@prg.traveller.cz>
References:  <20011226005810.5475.qmail@web10102.mail.yahoo.com> <Pine.BSF.4.41.0112261654060.20665-100000@prg.traveller.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
* Michal Mertl (mime@traveller.cz) wrote:

> > then likely all is well.  If an interrupt routine can read or write
> > in the middle of a non-atomic operation, then all hell can break
> > loose, in ways that are extremely difficult to track down because
> > they only happen rarely.
>
> Well I didn't think of that but I believe it shouldn't be that much a
> problem. At most the counter could become wrong :-).

When they're overflowing every few days they're wrong anyway.  At least
if the counter shoots up to 1000TB you *know* it's wrong.

-- 
Thomas 'Freaky' Hurst  -  freaky@aagh.net  -  http://www.aagh.net/
-
Support wildlife -- vote for an orgy.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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