Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 08:07:18 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Michal Mertl <mime@traveller.cz>, <arch@FreeBSD.org>, Matthew Dillon <dillon@apollo.backplane.com>, Alfred Perlstein <bright@mu.org>
Subject:   Re: 64 bit counters
Message-ID:  <20020102080550.B11165-100000@gamplex.bde.org>
In-Reply-To: <XFMail.011231123913.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 31 Dec 2001, John Baldwin wrote:

> On 31-Dec-01 Michal Mertl wrote:
> > I've almost finished the changes to implement interface counters with
> > atomic_t which is either 32 bit or 64 bit. I'll finish it anyway. It can
> > at least be converted to atomic_add_int (instead of my WIP name
> > atomic_add_max and friends) and it will help someone later to be able to
> > get rid of giant protection. I may be wrong even with this - well if
> > that's going to be the case and otherwise there will be no use for my
> > changes, they can always be forgotten. I could take it as practice lesson
> > on hacking kernel sources :-).
>
> I really need to fix the atomic(9) API to use sizeof() instead of explicit
> types like Bruce wants. :)

This will be easier when there is only one size :-).

Bruce


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?20020102080550.B11165-100000>