From owner-freebsd-arch Wed Dec 26 8:57:34 2001 Delivered-To: freebsd-arch@freebsd.org Received: from voi.aagh.net (pc1-hart4-0-cust168.mid.cable.ntl.com [62.254.84.168]) by hub.freebsd.org (Postfix) with ESMTP id 8AD5737B419 for ; Wed, 26 Dec 2001 08:57:27 -0800 (PST) Received: from freaky by voi.aagh.net with local (Exim 3.33 #1) id 16JHMr-000P8s-00 for arch@freebsd.org; Wed, 26 Dec 2001 16:57:25 +0000 Date: Wed, 26 Dec 2001 16:57:25 +0000 From: Thomas Hurst To: arch@freebsd.org Subject: Re: 64 bit counters Message-ID: <20011226165725.GA96426@voi.aagh.net> Mail-Followup-To: arch@freebsd.org References: <20011226005810.5475.qmail@web10102.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i Organization: Not much. X-Operating-System: FreeBSD/4.5-PRERELEASE (i386) X-Uptime: 4:45PM up 6 days, 1:30, 4 users, load averages: 2.00, 2.00, 2.00 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * 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