Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 18:27:36 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        David Greenman <dg@root.com>
Cc:        Bosko Milekic <bmilekic@technokratis.com>, "James E. Housley" <jeh@FreeBSD.org>, Thomas Hurst <tom.hurst@clara.net>, arch@FreeBSD.org
Subject:   Re: 64 bit counters again
Message-ID:  <3C439398.D29AB1C2@mindspring.com>
References:  <Pine.BSF.4.41.0201132057560.62182-100000@prg.traveller.cz> <3C41F3FD.4ECC8CD@mindspring.com> <20020113231459.GA30349@voi.aagh.net> <3C42390A.F9E9F533@mindspring.com> <3C42E899.CB21BD0A@FreeBSD.org> <20020114105859.A24635@technokratis.com> <3C4305E5.65BB32A6@FreeBSD.org> <20020114114911.A24990@technokratis.com> <20020114094738.A8955@nexus.root.com> <3C4334A1.6601C5ED@mindspring.com> <20020114115104.C8955@nexus.root.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David Greenman wrote:
>    Um, that still results in a 64bit counter since that's how most 32bit
> machines do 64bit adds.

No, it requires him to have an unlocked device instance remainder
field, with a locked 32 bit global K-counter field.  You could
even update the global at NETISR or some other less time critical
juncture.

Doing a 64 bit add would need locked add with carry for the whole
thing.

-- Terry

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?3C439398.D29AB1C2>