Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2007 21:43:19 -0400 (EDT)
From:      Garrett Wollman <wollman@hergotha.csail.mit.edu>
To:        jroberson@chesapeake.net
Cc:        , arch@freebsd.org
Subject:   Re: 64bit ticks, was Re: Changing p_swtime and td_slptime to ticks
Message-ID:  <200709190143.l8J1hJKA074148@hergotha.csail.mit.edu>
In-Reply-To: <20070918153536.D558@10.0.0.1>
References:  <20070917165657.B558@10.0.0.1> <46EF644E.9050207@elischer.org> <20070918012555.G558@10.0.0.1> <46EFE4BD.4030505@freebsd.org> <20070918142115.C558@10.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Roberson writes:

>Is there a good reason for not making ticks 64bit?  math involving this 
>value is relatively infrequent.  Bruce?  Any comments?  It'd sure let us 
>forget all of these counter wrapping problems.

Making ticks 64 bits on 32-bit architectures means that updates to it
will not be atomic.

-GAWollman

-- 
Garrett A. Wollman   | The real tragedy of human existence is not that we are
wollman@csail.mit.edu| nasty by nature, but that a cruel structural asymmetry
Opinions not those   | grants to rare events of meanness such power to shape
of MIT or CSAIL.     | our history. - S.J. Gould, Ten Thousand Acts of Kindness



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